[PATCH] client: Include poll.h instead of sys/poll.h

Jonas 'Sortie' Termansen sortie at maxsi.org
Tue Jan 14 09:38:59 PST 2014


POSIX mandates the poll.h header as the standard location of poll(2).
---
 src/wayland-client.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wayland-client.c b/src/wayland-client.c
index 363d5dd..bbf93ee 100644
--- a/src/wayland-client.c
+++ b/src/wayland-client.c
@@ -36,7 +36,7 @@
 #include <ctype.h>
 #include <assert.h>
 #include <fcntl.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <pthread.h>
 
 #include "wayland-util.h"
-- 
1.7.10.4



More information about the wayland-devel mailing list