summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2004-05-31 22:49:11 +0200
committerMartin Mares <mj@ucw.cz>2004-05-31 22:49:11 +0200
commit9f387e11a319ea55104c6e8362f9820bf1b00097 (patch)
tree5d45df0244f04c3ee43b118173dfa3ad9cdf7284
parent0757bcb728c8bd56fa03ea296862d62e05f6ba09 (diff)
downloadbird-9f387e11a319ea55104c6e8362f9820bf1b00097.tar
bird-9f387e11a319ea55104c6e8362f9820bf1b00097.zip
Make the check for <linux/rtnetlink.h> work with recent libc's.
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index c74ab38..1295884 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