]> granicus.if.org Git - apache/commitdiff
Convert HAVE_NETINET... to the APR mac
authorBill Stoddard <stoddard@apache.org>
Thu, 20 Jan 2000 22:14:15 +0000 (22:14 +0000)
committerBill Stoddard <stoddard@apache.org>
Thu, 20 Jan 2000 22:14:15 +0000 (22:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84503 13f79535-47bb-0310-9956-ffa450edef68

acinclude.m4
include/httpd.h

index 195270220a35e0381612aa6917f868433c7c6666..3df2330496157d45bc368356a1944a1f3c6ae0dd 100644 (file)
@@ -157,7 +157,7 @@ AC_DEFUN(APACHE_INADDR_NONE,[
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif
-#ifdef HAVE_NETINET_IN_H
+#if APR_HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #endif
 #ifdef HAVE_ARPA_INET_H
index 3386b786a00dc0c091a590661e6f3da22af0810a..a1aa55eab9e96b70becbe0a2f4f368bbf575f933 100644 (file)
@@ -81,7 +81,9 @@ extern "C" {
 #include "ap.h"
 #include "ap_mmn.h"
 
+#if APR_HAVE_NETINET_IN_H
 #include <netinet/in.h>
+#endif
 
 #ifdef CORE_PRIVATE