From 99376133c0e7eade24da08e6acd75f91daf77ea4 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Tue, 9 Oct 2012 19:50:28 -0600 Subject: [PATCH] FreeBSD: net/if_dl.h seems to require param.h --- configure.ac | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 072f58a25d..277a0b3d14 100644 --- a/configure.ac +++ b/configure.ac @@ -1140,7 +1140,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 ) @@ -1152,9 +1151,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 ]]) -- 2.47.2