httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Randall <crand...@matchlogic.com>
Subject perchild mpm on FreeBSD 4.2
Date Tue, 20 Feb 2001 17:54:20 GMT
perchild.c doesn't compile on FreeBSD 4.2R.  The following patch should
illustrate the problem. Someone will have to determine the correct way to
integrate this with the build process (autoconf, etc).

The resulting executable doesn't work correctly either, but getting it to
compile is the first step.

-Charles

% cvs diff -u
cvs server: Diffing .
Index: perchild.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/server/mpm/perchild/perchild.c,v
retrieving revision 1.49
diff -u -r1.49 perchild.c
--- perchild.c  2001/02/19 02:06:58     1.49
+++ perchild.c  2001/02/20 04:23:28
@@ -104,7 +104,12 @@
 #include <sys/stat.h>
 #include <sys/un.h>
 #include <setjmp.h>
+#ifdef __FreeBSD__
+#include <sys/param.h>
+#include <sys/socket.h>
+#else
 #include <stropts.h>
+#endif
 
 /*
  * Actual definitions of config globals


Mime
View raw message