Archived
1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
archive/package/libs/libnl/patches/001-fix-poll-h-include-warning-on-musl.h
John Crispin cd0081cb4e 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
2015-12-23 19:26:26 +00:00

14 lines
356 B
C

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>