------- Comment #5 from fang at csl dot cornell dot edu 2007-01-20 23:11 ------- Subject: Re: failed to build libgfortran in gcc-4.3-20070119 on OSX 10.3.9
> ------- Comment #4 from dominiq at lps dot ens dot fr 2007-01-20 22:52 > ------- > Subject: Re: failed to build libgfortran in gcc-4.3-20070119 on OSX 10.3.9 > > Thanks for the answers. I am not sure to fully understand them. > Am I correct if I summarize them by saying that I should > add a line > > #include <sys/time.h> > > say after line 82 of "gcc/include/unistd.h": > > #include <sys/unistd.h> > > considering that I am only interested to build libfortran > on OSX 10.3.9? Add <sys/time.h> *before* <sys/unistd.h> to the definition of struct timeval is available in time. > Would it be better to include the line before > > #include <sys/cdefs.h> > > (line 80 of the same file)? Not really, <sys/cdefs.h> doesn't define struct timeval. Fang -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30518