mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-19 09:38:42 +00:00
Make the check for <linux/rtnetlink.h> work with recent libc's.
This commit is contained in:
parent
0757bcb728
commit
9f387e11a3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user