diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-07-12 20:50:03 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-07-12 20:50:54 +0200 |
commit | f8fd638736fa319463c0d0a31d2c7c3add4aca5a (patch) | |
tree | 5107d1651043945128ad91c7aa83b6b19609d7e5 | |
parent | 71f5ef9b2845f4ff2f7ab074d4c1047946812285 (diff) |
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>
-rw-r--r-- | libs/liblo/patches/001-fix-musl-include.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/liblo/patches/001-fix-musl-include.patch b/libs/liblo/patches/001-fix-musl-include.patch new file mode 100644 index 000000000..f974bd3d1 --- /dev/null +++ b/libs/liblo/patches/001-fix-musl-include.patch @@ -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> |