You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/04/06 04:00:52 UTC

cvs commit: apache-2.0/src/modules/mpm/mpmt_pthread mpmt_pthread.c

trawick     00/04/05 19:00:52

  Modified:    src/modules/mpm/mpmt_pthread mpmt_pthread.c
  Log:
  In mpmt_pthread.c, include <netinet/tcp.h> only if
  the system actually has it.
  
  Revision  Changes    Path
  1.62      +3 -1      apache-2.0/src/modules/mpm/mpmt_pthread/mpmt_pthread.c
  
  Index: mpmt_pthread.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/mpmt_pthread/mpmt_pthread.c,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- mpmt_pthread.c	2000/04/05 01:23:50	1.61
  +++ mpmt_pthread.c	2000/04/06 02:00:52	1.62
  @@ -73,7 +73,9 @@
   #include "ap_listen.h"
   #include "scoreboard.h" 
   
  -#include <netinet/tcp.h> 
  +#ifdef HAVE_NETINET_TCP_H
  +#include <netinet/tcp.h>
  +#endif
   #include <sys/wait.h> 
   #include <pthread.h>
   #include <signal.h>