From: Francesco Chemolli Date: Mon, 2 Jun 2014 15:04:19 +0000 (+0200) Subject: Change order of BSD-specific network includes so that they are properly picked up X-Git-Tag: SQUID_3_5_0_1~208 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e89ba018a8940facec701a747520ce5299a0e362;p=thirdparty%2Fsquid.git Change order of BSD-specific network includes so that they are properly picked up --- diff --git a/acinclude/init.m4 b/acinclude/init.m4 index bf53a636bc..a6ab31c353 100644 --- a/acinclude/init.m4 +++ b/acinclude/init.m4 @@ -35,12 +35,18 @@ AC_DEFUN([SQUID_DEFAULT_INCLUDES],[[ dnl *BSD net headers AC_DEFUN([SQUID_BSDNET_INCLUDES],[ SQUID_DEFAULT_INCLUDES +#if HAVE_SYS_PARAM_H +#include +#endif #if HAVE_SYS_TIME_H #include #endif #if HAVE_SYS_SOCKET_H #include #endif +#if HAVE_NET_IF_H +#include +#endif #if HAVE_NETINET_IN_H #include #endif @@ -50,15 +56,9 @@ SQUID_DEFAULT_INCLUDES #if HAVE_NETINET_IP_COMPAT_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 ]) dnl ===========================================================================