mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 10:31:22 +00:00
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>
12 lines
214 B
Diff
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>
|