mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-21 09:11:54 +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
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user