sascha 99/12/29 15:41:57
Modified: src acinclude.m4 Log: (APACHE_INADDR_NONE) Additionally include sys/types.h, if it is available. Also added confdefs checks for the other included header files. Revision Changes Path 1.13 +9 -0 apache-2.0/src/acinclude.m4 Index: acinclude.m4 =================================================================== RCS file: /home/cvs/apache-2.0/src/acinclude.m4,v retrieving revision 1.12 retrieving revision 1.13 diff -u -u -r1.12 -r1.13 --- acinclude.m4 1999/12/24 21:22:27 1.12 +++ acinclude.m4 1999/12/29 23:41:56 1.13 @@ -147,9 +147,18 @@ dnl AC_DEFUN(APACHE_INADDR_NONE,[ AC_TRY_COMPILE([ +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif +#ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> +#endif +#ifdef HAVE_NETINET_IN_H #include <netinet/in.h> +#endif +#ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> +#endif ],[ unsigned long foo = INADDR_NONE; ],[