]> granicus.if.org Git - apache/commitdiff
Rely on APR to determine whether or not we have netinet/tcp.h. This test
authorJeff Trawick <trawick@apache.org>
Mon, 5 Mar 2001 20:15:15 +0000 (20:15 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 5 Mar 2001 20:15:15 +0000 (20:15 +0000)
requires a special work-around for IRIX 6.5, which will be in APR soon.
There is no need for it in Apache.

The include of netinet/tcp.h was removed from perchild.c and threaded.c.
They no longer seem to be needed there.

PR: 6459

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

configure.in
include/mpm_common.h
server/mpm/experimental/perchild/perchild.c
server/mpm/perchild/perchild.c
server/mpm/threaded/threaded.c

index 39d22b0942e5987ad69228eba523ef73fae88a4f..07f497a7c357779c2c4646a5eed9ae301aff6777 100644 (file)
@@ -89,7 +89,6 @@ string.h \
 limits.h \
 unistd.h \
 sys/socket.h \
-netinet/tcp.h \
 pwd.h \
 grp.h \
 strings.h
index 4a769574c09fce21d635ae2be04d09685e2ecb50..860075a1f8a7ad205fa31b275b7dcce8bfc6d8d9 100644 (file)
@@ -72,7 +72,7 @@
 
 #include "ap_config.h"
 
-#ifdef HAVE_NETINET_TCP_H
+#if APR_HAVE_NETINET_TCP_H
 #include <netinet/tcp.h>    /* for TCP_NODELAY */
 #endif
 
index 05ff39a28c26f5157b4c407352be4ef14cba3e47..ad19ac8e90780dccddad371994cb5e162c9b8554 100644 (file)
 #include "scoreboard.h"
 #include "util_filter.h"
 
-#ifdef HAVE_NETINET_TCP_H
-#include <netinet/tcp.h>
-#endif
-
 /* ### should be APR-ized */
 #include <poll.h>
 #include <grp.h>
index 05ff39a28c26f5157b4c407352be4ef14cba3e47..ad19ac8e90780dccddad371994cb5e162c9b8554 100644 (file)
 #include "scoreboard.h"
 #include "util_filter.h"
 
-#ifdef HAVE_NETINET_TCP_H
-#include <netinet/tcp.h>
-#endif
-
 /* ### should be APR-ized */
 #include <poll.h>
 #include <grp.h>
index db5bda9e39d165ce58a2500524acaf0f32890368..75bda0507fda3e25bcf76e41e50052eb4bc4c47c 100644 (file)
 #include "ap_listen.h"
 #include "scoreboard.h" 
 
-#ifdef HAVE_NETINET_TCP_H
-#include <netinet/tcp.h>
-#endif
-
 #include <signal.h>
 
 /*