diff options
author | wm4 <wm4@nowhere> | 2017-01-09 16:21:28 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-09 16:21:28 +0100 |
commit | 854651f4f517a9a0d2a095b0eaae561373d0cb0f (patch) | |
tree | aca7a416ccd4a0455861043c14312f03aff14b0d | |
parent | 5ab11016c8961878ab09c8691335ae38bc7c4044 (diff) | |
download | mpv-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.
-rw-r--r-- | video/out/drm_common.c | 2 | ||||
-rw-r--r-- | video/out/opengl/context_drm_egl.c | 2 | ||||
-rw-r--r-- | video/out/vo_drm.c | 2 |
3 files changed, 3 insertions, 3 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> 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> 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> |