summaryrefslogtreecommitdiff
path: root/package/libnl/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-07-25 22:16:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-07-25 22:16:11 +0200
commitf94dbc199e0abcdd3b8cc9d9d7226d8a1a6b47e1 (patch)
tree9c089e0cfa89af49a38be9032c8e1a9dfb826b14 /package/libnl/patches
parentedd929510568cf11da927e0c6b0ef09948cd86d3 (diff)
libnl: fix musl compile error (patch from buildroot) reported by Ints M
Diffstat (limited to 'package/libnl/patches')
-rw-r--r--package/libnl/patches/patch-include_linux-private_linux_libc-compat_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libnl/patches/patch-include_linux-private_linux_libc-compat_h b/package/libnl/patches/patch-include_linux-private_linux_libc-compat_h
new file mode 100644
index 000000000..104c3c6ba
--- /dev/null
+++ b/package/libnl/patches/patch-include_linux-private_linux_libc-compat_h
@@ -0,0 +1,11 @@
+--- libnl-libnl3_2_29.orig/include/linux-private/linux/libc-compat.h 2016-12-30 15:57:01.000000000 +0100
++++ libnl-libnl3_2_29/include/linux-private/linux/libc-compat.h 2017-07-25 22:04:13.423563709 +0200
+@@ -49,7 +49,7 @@
+ #define _LIBC_COMPAT_H
+
+ /* We have included glibc headers... */
+-#if defined(__GLIBC__)
++#if 1
+
+ /* Coordinate with glibc netinet/in.h header. */
+ #if defined(_NETINET_IN_H)