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