mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-23 23:23:31 +00:00
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> SVN-Revision: 48004
This commit is contained in:
parent
1a54162447
commit
c75c8ab6a6
@ -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>
|
Loading…
Reference in New Issue
Block a user