You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Sascha Schumann <sa...@schumann.cx> on 2000/12/22 16:39:05 UTC

Apache 1.3 CVS broken

    Hi,

    the recent change to USE_SYSVSEM_SERIALIZED_ACCEPT breaks
    Apache 1.3 builds on Linux 2.x systems which conform to
    SUSvII.

    Currently, ap_config.h defines NEED_UNION_SEMUN to 1, if
    _SEM_SEMUN_UNDEFINED was defined.  The latter macro is only
    defined, if <sys/sem.h> was included before.

Index: ap_config.h
===================================================================
RCS file: /home/cvs/apache-1.3/src/include/ap_config.h,v
retrieving revision 1.299
diff -u -r1.299 ap_config.h
--- ap_config.h	2000/12/20 04:56:02	1.299
+++ ap_config.h	2000/12/22 15:41:22
@@ -529,6 +529,7 @@
  */
 #define USE_SYSVSEM_SERIALIZED_ACCEPT
 #define SINGLE_LISTEN_UNSERIALIZED_ACCEPT
+#include <sys/sem.h>
 #if _SEM_SEMUN_UNDEFINED
 #define NEED_UNION_SEMUN
 #endif

    - Sascha


Re: Apache 1.3 CVS broken

Posted by Doug MacEachern <do...@covalent.net>.
On Fri, 22 Dec 2000, Sascha Schumann wrote:

>     Hi,
> 
>     the recent change to USE_SYSVSEM_SERIALIZED_ACCEPT breaks
>     Apache 1.3 builds on Linux 2.x systems which conform to
>     SUSvII.
> 
>     Currently, ap_config.h defines NEED_UNION_SEMUN to 1, if
>     _SEM_SEMUN_UNDEFINED was defined.  The latter macro is only
>     defined, if <sys/sem.h> was included before.

looks good here, committed.