summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_drm_egl.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/opengl/context_drm_egl.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/opengl/context_drm_egl.c')
-rw-r--r--video/out/opengl/context_drm_egl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/context_drm_egl.c b/video/out/opengl/context_drm_egl.c
index e5fd7b8354..cf23423619 100644
--- a/video/out/opengl/context_drm_egl.c
+++ b/video/out/opengl/context_drm_egl.c
@@ -20,7 +20,7 @@
#include <fcntl.h>
#include <signal.h>
#include <string.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <time.h>
#include <unistd.h>