liblo: fix build with musl 1565/head
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 12 Jul 2015 18:50:03 +0000 (20:50 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 12 Jul 2015 18:50:54 +0000 (20:50 +0200)
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>
libs/liblo/patches/001-fix-musl-include.patch [new file with mode: 0644]

diff --git a/libs/liblo/patches/001-fix-musl-include.patch b/libs/liblo/patches/001-fix-musl-include.patch
new file mode 100644 (file)
index 0000000..f974bd3
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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>