From db273f62751541557a9e24a46629e26b75348c99 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 23 May 2013 10:00:57 -0400 Subject: [PATCH] configure: Add if_mib.h prerequisites. Signed-off-by: Ed Maste Signed-off-by: Ben Pfaff --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 1e23289a331..91f38359d77 100644 --- a/configure.ac +++ b/configure.ac @@ -63,8 +63,9 @@ AC_CHECK_MEMBERS([struct stat.st_mtim.tv_nsec, struct stat.st_mtimensec], [], [], [[#include ]]) AC_CHECK_MEMBERS([struct ifreq.ifr_flagshigh], [], [], [[#include ]]) AC_CHECK_FUNCS([mlockall strnlen strsignal getloadavg statvfs getmntent_r]) -AC_CHECK_HEADERS( - [mntent.h sys/statvfs.h linux/types.h linux/if_ether.h net/if_mib.h]) +AC_CHECK_HEADERS([mntent.h sys/statvfs.h linux/types.h linux/if_ether.h]) +AC_CHECK_HEADERS([net/if_mib.h], [], [], [[#include +#include ]]) OVS_CHECK_PKIDIR OVS_CHECK_RUNDIR