From 5ba4711862902c602c537ae8f0775ef0f5fa1191 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Wed, 29 Dec 1999 23:41:56 +0000 Subject: [PATCH] (APACHE_INADDR_NONE) Additionally include sys/types.h, if it is available. Also added confdefs checks for the other included header files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84373 13f79535-47bb-0310-9956-ffa450edef68 --- acinclude.m4 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/acinclude.m4 b/acinclude.m4 index 9f14dbb41c..ab2f3c1ad9 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -147,9 +147,18 @@ dnl checks for missing INADDR_NONE macro dnl AC_DEFUN(APACHE_INADDR_NONE,[ AC_TRY_COMPILE([ +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H #include +#endif +#ifdef HAVE_NETINET_IN_H #include +#endif +#ifdef HAVE_ARPA_INET_H #include +#endif ],[ unsigned long foo = INADDR_NONE; ],[ -- 2.40.0