summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas 'Sortie' Termansen <sortie@maxsi.org>2014-01-14 18:38:59 +0100
committerKristian Høgsberg <krh@bitplanet.net>2014-01-17 11:27:26 -0800
commited139ddcd79c4aec0beb98de1af5e82f0c6699aa (patch)
tree48c87eab6108ecbccd051011c927b376e88003bd
parentadd_shm_format: check wl_array_add return value before deref (diff)
downloadwayland-ed139ddcd79c4aec0beb98de1af5e82f0c6699aa.tar
wayland-ed139ddcd79c4aec0beb98de1af5e82f0c6699aa.tar.gz
wayland-ed139ddcd79c4aec0beb98de1af5e82f0c6699aa.tar.bz2
wayland-ed139ddcd79c4aec0beb98de1af5e82f0c6699aa.tar.lz
wayland-ed139ddcd79c4aec0beb98de1af5e82f0c6699aa.tar.xz
wayland-ed139ddcd79c4aec0beb98de1af5e82f0c6699aa.tar.zst
wayland-ed139ddcd79c4aec0beb98de1af5e82f0c6699aa.zip
client: Include poll.h instead of sys/poll.h
POSIX mandates the poll.h header as the standard location of poll(2).
-rw-r--r--src/wayland-client.c2
1 files changed, 1 insertions, 1 deletions
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"