]> granicus.if.org Git - apache/commitdiff
In mpmt_pthread.c, include <netinet/tcp.h> only if
authorJeff Trawick <trawick@apache.org>
Thu, 6 Apr 2000 02:00:52 +0000 (02:00 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 6 Apr 2000 02:00:52 +0000 (02:00 +0000)
the system actually has it.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84930 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/mpmt_pthread/mpmt_pthread.c

index 0dac56a45f121d8486c1559d9914d30f01e72712..5e0a745d80ef2dee4c16e41f4bd57a4e028c41cd 100644 (file)
@@ -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>