summaryrefslogtreecommitdiffstats
path: root/video/out/vo_drm.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/vo_drm.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/vo_drm.c')
-rw-r--r--video/out/vo_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c
index 92357587c5..e0722e1612 100644
--- a/video/out/vo_drm.c
+++ b/video/out/vo_drm.c
@@ -20,7 +20,7 @@
#include <fcntl.h>
#include <stdbool.h>
#include <sys/mman.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <unistd.h>
#include <libswscale/swscale.h>