You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by sameer <sa...@c2.net> on 1997/10/24 22:15:30 UTC
[PATCH] Make -dev work on FreeBSD
I couldn't compile the current tree on freebsd. The following
patch fixes it.
Index: conf.h
===================================================================
RCS file: /export/home/cvs/apachen/src/main/conf.h,v
retrieving revision 1.149
diff -c -r1.149 conf.h
*** conf.h 1997/10/22 20:29:34 1.149
--- conf.h 1997/10/24 20:14:48
***************
*** 59,64 ****
--- 59,65 ----
/* 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
--
Sameer Parekh Voice: 510-986-8770
President FAX: 510-986-8777
C2Net
http://www.c2.net/ sameer@c2.net
Re: [PATCH] Make -dev work on FreeBSD
Posted by Dirk-Willem van Gulik <di...@elect6.jrc.it>.
> At 01:15 PM 10/24/97 -0700, sameer wrote:
> > I couldn't compile the current tree on freebsd. The following
> >patch fixes it.
Hmm I could on 3.0-snap and currnt ? Looks like a possible fiddle
with our /usr/share/mk/* files perhaps ?
Hmm perhaps some argument for always having a sys/types and friends in
there on all platforms.
Dw.
> >Index: conf.h
> >===================================================================
> >RCS file: /export/home/cvs/apachen/src/main/conf.h,v
> >retrieving revision 1.149
> >diff -c -r1.149 conf.h
> >*** conf.h 1997/10/22 20:29:34 1.149
> >--- conf.h 1997/10/24 20:14:48
> >***************
> >*** 59,64 ****
> >--- 59,65 ----
> >
> > /* 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
> >
> >
> >--
> >Sameer Parekh Voice: 510-986-8770
> >President FAX: 510-986-8777
> >C2Net
> >http://www.c2.net/ sameer@c2.net
> >
> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
> "it's a big world, with lots of records to play." - sig brian@organic.com
>
Re: [PATCH] Make -dev work on FreeBSD
Posted by Brian Behlendorf <br...@organic.com>.
Really? I have no problem (2.2.2-RELEASE). cc=gcc.
Brian
At 01:15 PM 10/24/97 -0700, sameer wrote:
> I couldn't compile the current tree on freebsd. The following
>patch fixes it.
>
>Index: conf.h
>===================================================================
>RCS file: /export/home/cvs/apachen/src/main/conf.h,v
>retrieving revision 1.149
>diff -c -r1.149 conf.h
>*** conf.h 1997/10/22 20:29:34 1.149
>--- conf.h 1997/10/24 20:14:48
>***************
>*** 59,64 ****
>--- 59,65 ----
>
> /* 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
>
>
>--
>Sameer Parekh Voice: 510-986-8770
>President FAX: 510-986-8777
>C2Net
>http://www.c2.net/ sameer@c2.net
>
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
"it's a big world, with lots of records to play." - sig brian@organic.com