From: Jeff Trawick Date: Mon, 5 Mar 2001 20:15:15 +0000 (+0000) Subject: Rely on APR to determine whether or not we have netinet/tcp.h. This test X-Git-Tag: 2.0.14~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a73caceb3b7ce36e4f34111e9ee2fa1e1bd8c29;p=apache Rely on APR to determine whether or not we have netinet/tcp.h. This test 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 --- diff --git a/configure.in b/configure.in index 39d22b0942..07f497a7c3 100644 --- a/configure.in +++ b/configure.in @@ -89,7 +89,6 @@ string.h \ limits.h \ unistd.h \ sys/socket.h \ -netinet/tcp.h \ pwd.h \ grp.h \ strings.h diff --git a/include/mpm_common.h b/include/mpm_common.h index 4a769574c0..860075a1f8 100644 --- a/include/mpm_common.h +++ b/include/mpm_common.h @@ -72,7 +72,7 @@ #include "ap_config.h" -#ifdef HAVE_NETINET_TCP_H +#if APR_HAVE_NETINET_TCP_H #include /* for TCP_NODELAY */ #endif diff --git a/server/mpm/experimental/perchild/perchild.c b/server/mpm/experimental/perchild/perchild.c index 05ff39a28c..ad19ac8e90 100644 --- a/server/mpm/experimental/perchild/perchild.c +++ b/server/mpm/experimental/perchild/perchild.c @@ -92,10 +92,6 @@ #include "scoreboard.h" #include "util_filter.h" -#ifdef HAVE_NETINET_TCP_H -#include -#endif - /* ### should be APR-ized */ #include #include diff --git a/server/mpm/perchild/perchild.c b/server/mpm/perchild/perchild.c index 05ff39a28c..ad19ac8e90 100644 --- a/server/mpm/perchild/perchild.c +++ b/server/mpm/perchild/perchild.c @@ -92,10 +92,6 @@ #include "scoreboard.h" #include "util_filter.h" -#ifdef HAVE_NETINET_TCP_H -#include -#endif - /* ### should be APR-ized */ #include #include diff --git a/server/mpm/threaded/threaded.c b/server/mpm/threaded/threaded.c index db5bda9e39..75bda0507f 100644 --- a/server/mpm/threaded/threaded.c +++ b/server/mpm/threaded/threaded.c @@ -88,10 +88,6 @@ #include "ap_listen.h" #include "scoreboard.h" -#ifdef HAVE_NETINET_TCP_H -#include -#endif - #include /*