1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 10:59:13 +02:00
openwrt-packages/libs/liblo/patches/001-fix-musl-include.patch
Hauke Mehrtens f8fd638736 liblo: fix build with musl
When sys/poll.h gets included it results in a warning, to include
poll.h. All warnings are treated as errors by liblo.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-07-12 20:50:54 +02:00

12 lines
214 B
Diff

--- a/src/server.c
+++ b/src/server.c
@@ -48,7 +48,7 @@
#include <netdb.h>
#include <sys/socket.h>
#ifdef HAVE_POLL
-#include <sys/poll.h>
+#include <poll.h>
#endif
#include <sys/un.h>
#include <arpa/inet.h>