From: Amos Jeffries Date: Tue, 9 Oct 2012 01:03:20 +0000 (-0600) Subject: FreeBSD: net/if_dl.h seems to require param.h X-Git-Tag: SQUID_3_4_0_1~588 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43c1320ac4e55c83450c21752b16799aa2fe2210;p=thirdparty%2Fsquid.git FreeBSD: net/if_dl.h seems to require param.h --- diff --git a/configure.ac b/configure.ac index 20f7e47079..8606d16bf2 100644 --- a/configure.ac +++ b/configure.ac @@ -1144,7 +1144,6 @@ if test "x${enable_eui:=yes}" = "xyes" ; then #Iphlpapi.h check delayed after winsock2.h AC_CHECK_HEADERS( \ windows.h \ - net/if_dl.h \ sys/sockio.h \ sys/param.h, [], [], [[ @@ -1161,8 +1160,11 @@ include #include ]]) - # OpenBSD, FreeBSD and NetBSD requires sys/param.h to be included before sysctl.h - AC_CHECK_HEADERS(sys/sysctl.h, [], [], [[ + # OpenBSD, FreeBSD and NetBSD requires sys/param.h to be included before sysctl.h and net/if_dl.h + AC_CHECK_HEADERS( \ + net/if_dl.h \ + sys/sysctl.h, + [], [], [[ #if HAVE_SYS_PARAM_H #include #endif