Make the check for <linux/rtnetlink.h> work with recent libc's.

This commit is contained in:
Martin Mares 2004-05-31 20:49:11 +00:00
parent 0757bcb728
commit 9f387e11a3

View file

@ -145,7 +145,10 @@ AC_SUBST(protocols)
case $sysdesc in case $sysdesc in
*/linux-22*|*/linux-v6*) */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 esac