httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: httpd-2.0/server/mpm/experimental/perchild perchild.c
Date Sun, 08 Sep 2002 14:42:22 GMT
jim         2002/09/08 07:42:22

  Modified:    server/mpm/experimental/perchild perchild.c
  Log:
  Allow for compile on systems lacking poll.h
  
  Revision  Changes    Path
  1.132     +7 -1      httpd-2.0/server/mpm/experimental/perchild/perchild.c
  
  Index: perchild.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/experimental/perchild/perchild.c,v
  retrieving revision 1.131
  retrieving revision 1.132
  diff -u -r1.131 -r1.132
  --- perchild.c	18 Aug 2002 06:05:48 -0000	1.131
  +++ perchild.c	8 Sep 2002 14:42:22 -0000	1.132
  @@ -97,8 +97,14 @@
   #include "util_filter.h"
   #include "apr_poll.h"
   
  -/* ### should be APR-ized */
  +#ifdef HAVE_POLL_H
   #include <poll.h>
  +#endif
  +#ifdef HAVE_SYS_POLL_H
  +#include <sys/poll.h>
  +#endif
  +
  +/* ### should be APR-ized */
   #include <grp.h>
   #include <pwd.h>
   #include <sys/stat.h>
  
  
  

Mime
View raw message