httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject Re: [PATCH] Make -dev work on FreeBSD
Date Mon, 27 Oct 1997 03:40:35 GMT
On Sun, 26 Oct 1997 11:52:22 +0100, Ralf S. Engelschall wrote:

>
>In article <199710252231.PAA12436@gabber.c2.net> you wrote:
>
>> 	My tree was having typical 'types.h isn't included' errors. I
>> was using 2.1.6-RELEASE.
>>[..]
>>> Really?  I have no problem (2.2.2-RELEASE).  cc=gcc.
>>> 
>>> At 01:15 PM 10/24/97 -0700, sameer wrote:
>>> >	I couldn't compile the current tree on freebsd. The following
>>> >patch fixes it.
>>[..]
>>> >  /* Have to include sys/stat.h before ../os/win32/os.h so we can override
>>> >  stat() properly */
>>> >+ #include <sys/types.h>
>>> >  #include <sys/stat.h>
>>> >  
>>> >  #ifdef WIN32
>>[..]
>
>No problems here, even under FreeBSD 2.1.5. Hmmm...

This (sys/types.h before sys/stat.h) is also required for gcc under OS/2.

--
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Mime
View raw message