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>
11 lines
214 B
Diff
11 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>
|