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