From: Vincent Bernat Date: Tue, 29 Sep 2009 15:43:47 +0000 (+0200) Subject: linux/filter.h may need linux/types on old systems. X-Git-Tag: 0.5.0~37^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b56625e6d81d822b8a70d9da24c472dee7d6adaa;p=thirdparty%2Flldpd.git linux/filter.h may need linux/types on old systems. --- diff --git a/configure.ac b/configure.ac index fba0ae1a..a0e3c1d6 100644 --- a/configure.ac +++ b/configure.ac @@ -51,9 +51,8 @@ AC_CHECK_HEADERS([ \ sys/queue.h \ syslog.h \ unistd.h \ - linux/sockios.h \ - linux/filter.h \ net/if.h \ + linux/sockios.h \ ],,AC_MSG_ERROR([Required header missing.])) AC_CHECK_HEADERS([ \ linux/wireless.h \ @@ -65,6 +64,11 @@ AC_CHECK_HEADERS([ \ @%:@include @%:@include ]) +AC_CHECK_HEADERS([ \ + linux/filter.h \ +],,AC_MSG_ERROR([Required header missing.]),[ +@%:@include +]) # Check for sys/queue.h completeness, missing bits will be in compat.h