From b56625e6d81d822b8a70d9da24c472dee7d6adaa Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 29 Sep 2009 17:43:47 +0200 Subject: [PATCH] linux/filter.h may need linux/types on old systems. --- configure.ac | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.5