client: Include poll.h instead of sys/poll.h
authorJonas 'Sortie' Termansen <sortie@maxsi.org>
Tue, 14 Jan 2014 17:38:59 +0000 (18:38 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 17 Jan 2014 19:27:26 +0000 (11:27 -0800)
POSIX mandates the poll.h header as the standard location of poll(2).

src/wayland-client.c

index 363d5dd..bbf93ee 100644 (file)
@@ -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"