From: Bill Stoddard Date: Thu, 20 Jan 2000 22:14:15 +0000 (+0000) Subject: Convert HAVE_NETINET... to the APR mac X-Git-Tag: 1.3.13~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6be94dea6d7853516d6a610c0b9991638b31df7e;p=apache Convert HAVE_NETINET... to the APR mac git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84503 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/acinclude.m4 b/acinclude.m4 index 195270220a..3df2330496 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -157,7 +157,7 @@ AC_DEFUN(APACHE_INADDR_NONE,[ #ifdef HAVE_SYS_SOCKET_H #include #endif -#ifdef HAVE_NETINET_IN_H +#if APR_HAVE_NETINET_IN_H #include #endif #ifdef HAVE_ARPA_INET_H diff --git a/include/httpd.h b/include/httpd.h index 3386b786a0..a1aa55eab9 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -81,7 +81,9 @@ extern "C" { #include "ap.h" #include "ap_mmn.h" +#if APR_HAVE_NETINET_IN_H #include +#endif #ifdef CORE_PRIVATE