mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 22:22:23 +00:00
20 lines
705 B
Diff
20 lines
705 B
Diff
|
Dmitry V. Levin [Tue, 3 Nov 2009 16:49:49 +0000]
|
||
|
|
||
|
Fix check for linux/netlink.h on Linux 2.6.32-rc5+
|
||
|
|
||
|
* configure.ac (AC_CHECK_HEADERS): In check for linux/netlink.h, include
|
||
|
sys/socket.h instead of linux/socket.h beforehand.
|
||
|
|
||
|
diff --git a/configure.ac b/configure.ac
|
||
|
--- a/configure.ac
|
||
|
+++ b/configure.ac
|
||
|
@@ -258,7 +258,7 @@ AC_CHECK_HEADERS([ \
|
||
|
], [], [])
|
||
|
AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h],
|
||
|
[], [], [#include <stddef.h>
|
||
|
-#include <linux/socket.h>])
|
||
|
+#include <sys/socket.h>])
|
||
|
AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include <signal.h>])
|
||
|
AC_CHECK_TYPES([struct sigcontext_struct,
|
||
|
struct sigcontext],,, [#include <signal.h>])
|