Make the check for <linux/rtnetlink.h> work with recent libc's.
This commit is contained in:
parent
0757bcb728
commit
9f387e11a3
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue