From: Amos Jeffries Date: Wed, 17 Oct 2012 00:12:04 +0000 (-0600) Subject: FreeBSD: net/if_dl.h seems to require param.h X-Git-Tag: SQUID_3_2_3~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=803a824972621d28c1de83c799f06104f8e59685;p=thirdparty%2Fsquid.git FreeBSD: net/if_dl.h seems to require param.h --- diff --git a/configure.ac b/configure.ac index a26132bbe2..5cb7506ca0 100644 --- a/configure.ac +++ b/configure.ac @@ -1115,7 +1115,6 @@ if test "x${enable_eui:=yes}" = "xyes" ; then esac #Iphlpapi.h check delayed after winsock2.h AC_CHECK_HEADERS( \ - net/if_dl.h \ sys/sockio.h \ sys/param.h ) @@ -1127,9 +1126,12 @@ if test "x${enable_eui:=yes}" = "xyes" ; then #include ]]) - # openbsd requires sys/param.h to be included before sysctl.h - AC_CHECK_HEADERS(sys/sysctl.h, [], [], - [[#if HAVE_SYS_PARAM_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 ]])