summaryrefslogtreecommitdiffstats
path: root/video/out/drm_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-01-09 16:21:28 +0100
committerwm4 <wm4@nowhere>2017-01-09 16:21:28 +0100
commit854651f4f517a9a0d2a095b0eaae561373d0cb0f (patch)
treeaca7a416ccd4a0455861043c14312f03aff14b0d /video/out/drm_common.c
parent5ab11016c8961878ab09c8691335ae38bc7c4044 (diff)
downloadmpv-854651f4f517a9a0d2a095b0eaae561373d0cb0f.tar.bz2
mpv-854651f4f517a9a0d2a095b0eaae561373d0cb0f.tar.xz
drm: include <poll.h> instead of <sys/poll.h>
I'm not sure what systems have <sys/poll.h> (maybe there are historical reasons why some would), but POSIX defines <poll.h>. Although this code is full of highly OS specific calls (like ioctl()), there's no reason not to use the more standard include path.
Diffstat (limited to 'video/out/drm_common.c')
-rw-r--r--video/out/drm_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/drm_common.c b/video/out/drm_common.c
index 44e017e4b2..c7b4edf91f 100644
--- a/video/out/drm_common.c
+++ b/video/out/drm_common.c
@@ -19,7 +19,7 @@
#include <string.h>
#include <signal.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/stat.h>
#include <sys/vt.h>
#include <unistd.h>