aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-12-23 19:26:26 +0000
committerJohn Crispin <blogic@openwrt.org>2015-12-23 19:26:26 +0000
commit1ef14dcfe9875a255127450281e103bc235e5564 (patch)
tree42c7a6686ce07771d7c09b6c79c334a37c605a49 /package
parent0ef1b86e97a08c9cbb5b0f4ea8d8a4ee91eb27b2 (diff)
downloadmaster-187ad058-1ef14dcfe9875a255127450281e103bc235e5564.tar.gz
master-187ad058-1ef14dcfe9875a255127450281e103bc235e5564.tar.bz2
master-187ad058-1ef14dcfe9875a255127450281e103bc235e5564.zip
libnl: fix warning with poll.h include on musl
Warning is: #warning redirecting incorrect #include <sys/poll.h> to <poll. Not a big issue. But it can be annoying when building with -Werror set. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48004 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/libs/libnl/patches/001-fix-poll-h-include-warning-on-musl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/libs/libnl/patches/001-fix-poll-h-include-warning-on-musl.h b/package/libs/libnl/patches/001-fix-poll-h-include-warning-on-musl.h
new file mode 100644
index 0000000000..ec9d4bc4f1
--- /dev/null
+++ b/package/libs/libnl/patches/001-fix-poll-h-include-warning-on-musl.h
@@ -0,0 +1,13 @@
+diff --git a/include/netlink/netlink.h b/include/netlink/netlink.h
+index 5f68548..3bf3ed5 100644
+--- a/include/netlink/netlink.h
++++ b/include/netlink/netlink.h
+@@ -16,7 +16,7 @@
+ #include <stdint.h>
+ #include <string.h>
+ #include <stdlib.h>
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <sys/socket.h>
+ #include <sys/types.h>
+ #include <sys/time.h>