mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-13 10:59:13 +02:00
![Hauke Mehrtens](/assets/img/avatar_default.png)
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>
|