From: robertc <> Date: Sat, 30 Aug 2003 15:08:21 +0000 (+0000) Subject: Summary: failure to detect on NetBSD X-Git-Tag: SQUID_3_0_PRE4~1233 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2874ca69e1f00696a4ab1c8f61865f5f6c277d7a;p=thirdparty%2Fsquid.git Summary: failure to detect on NetBSD Keywords: On NetBSD-current, squid3-HEAD fails to detect sys/mount.h. The attached patch to acinclude.m4 fixes it. * need to include before, not after, * neet to include before . For some reason, these problems do not prevent "configure" from detecting , but do prevent configure fron detecting . --- diff --git a/acinclude.m4 b/acinclude.m4 index 9b0c809d56..7ccb0592e4 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -33,6 +33,9 @@ SQUID_DEFAULT_INCLUDES dnl *BSD net headers AC_DEFUN(SQUID_BSDNET_INCLUDES,[ SQUID_DEFAULT_INCLUDES +#if HAVE_SYS_TIME_H +#include +#endif #if HAVE_SYS_SOCKET_H #include #endif @@ -42,12 +45,12 @@ SQUID_DEFAULT_INCLUDES #if HAVE_NETINET_IP_COMPAT_H #include #endif -#if HAVE_NETINET_IP_FIL_H -#include -#endif #if HAVE_NET_IF_H #include #endif +#if HAVE_NETINET_IP_FIL_H +#include +#endif #if HAVE_SYS_PARAM_H #include #endif