diff options
author | Martin Mares <mj@ucw.cz> | 2004-05-31 20:49:11 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2004-05-31 20:49:11 +0000 |
commit | 9f387e11a319ea55104c6e8362f9820bf1b00097 (patch) | |
tree | 5d45df0244f04c3ee43b118173dfa3ad9cdf7284 | |
parent | 0757bcb728c8bd56fa03ea296862d62e05f6ba09 (diff) |
Make the check for <linux/rtnetlink.h> work with recent libc's.
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index c74ab387..12958840 100644 --- a/configure.in +++ b/configure.in @@ -145,7 +145,10 @@ AC_SUBST(protocols) case $sysdesc in */linux-22*|*/linux-v6*) - AC_CHECK_HEADER(linux/rtnetlink.h,,[AC_MSG_ERROR([Appropriate version of Linux kernel headers not found.])]) + AC_CHECK_HEADER(linux/rtnetlink.h,,[AC_MSG_ERROR([Appropriate version of Linux kernel headers not found.])],[ +#include <asm/types.h> +#include <sys/socket.h> +]) ;; esac |