Browse Source

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>
lilik-openwrt-22.03
Hauke Mehrtens 9 years ago
parent
commit
f8fd638736
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      libs/liblo/patches/001-fix-musl-include.patch

+ 11
- 0
libs/liblo/patches/001-fix-musl-include.patch View File

@ -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>

Loading…
Cancel
Save