From: Sascha Schumann Date: Wed, 29 Dec 1999 23:41:56 +0000 (+0000) Subject: (APACHE_INADDR_NONE) Additionally include sys/types.h, if it is available. Also X-Git-Tag: 1.3.10~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ba4711862902c602c537ae8f0775ef0f5fa1191;p=apache (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 --- 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; ],[