mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
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>
This commit is contained in:
11
libs/liblo/patches/001-fix-musl-include.patch
Normal file
11
libs/liblo/patches/001-fix-musl-include.patch
Normal 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>
|
||||
Reference in New Issue
Block a user