diff options
author | Kirill K. Smirnov <kirill.k.smirnov@gmail.com> | 2016-09-17 22:50:00 +0300 |
---|---|---|
committer | Kirill K. Smirnov <kirill.k.smirnov@gmail.com> | 2016-09-17 22:50:00 +0300 |
commit | d358a2e197de0af8aa7c64f80be7c1727c8cbfad (patch) | |
tree | 26572063aa5513a16d5331aace7ae81c372b3211 /patches/strace/4.5.18/160-fix-check-for-linux-netlink.patch | |
parent | 2811011dc6ee93be587345a1989cdc83e8974b9a (diff) | |
download | crosstool-ng-d358a2e197de0af8aa7c64f80be7c1727c8cbfad.tar.gz crosstool-ng-d358a2e197de0af8aa7c64f80be7c1727c8cbfad.tar.bz2 crosstool-ng-d358a2e197de0af8aa7c64f80be7c1727c8cbfad.zip |
patches: clean up patches for strace 4.5.18
Backport patch for linux/netlink from strace 4.5.19.
Autoreconf changes.
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Diffstat (limited to 'patches/strace/4.5.18/160-fix-check-for-linux-netlink.patch')
-rw-r--r-- | patches/strace/4.5.18/160-fix-check-for-linux-netlink.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/strace/4.5.18/160-fix-check-for-linux-netlink.patch b/patches/strace/4.5.18/160-fix-check-for-linux-netlink.patch new file mode 100644 index 00000000..e12b4e49 --- /dev/null +++ b/patches/strace/4.5.18/160-fix-check-for-linux-netlink.patch @@ -0,0 +1,19 @@ +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 +@@ -197,7 +197,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],,, [#include <signal.h>]) + AC_CHECK_HEADERS([netinet/tcp.h netinet/udp.h],,, [#include <netinet/in.h>]) |