]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Make the check for <linux/rtnetlink.h> work with recent libc's.
authorMartin Mares <mj@ucw.cz>
Mon, 31 May 2004 20:49:11 +0000 (20:49 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 31 May 2004 20:49:11 +0000 (20:49 +0000)
configure.in

index c74ab387c64427ae6e9b5a7880e74779a9dbe9a1..12958840cf90168da245072ffbef921721bbbb8b 100644 (file)
@@ -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