diff options
author | Marcin Kurczewski <mkurczew@gmail.com> | 2015-04-19 09:09:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-04-19 21:18:12 +0200 |
commit | bd5d047c893cda0b533f9457a6fb2bfbd60de13e (patch) | |
tree | 920f8921c61d8a85a68e3d44c61095a3c3d75ca8 /video/out | |
parent | 1dcc38a7c237f31ac441192ba88488b347e8419e (diff) |
vo_drm: disable VT switcher for non-Linux systems
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/vo_drm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c index 6bce25ea0e..9c9f365254 100644 --- a/video/out/vo_drm.c +++ b/video/out/vo_drm.c @@ -22,14 +22,15 @@ #include <assert.h> #include <errno.h> #include <fcntl.h> -#include <linux/vt.h> #include <poll.h> #include <signal.h> #include <stdbool.h> #include <sys/ioctl.h> +#include <sys/mman.h> +#include <sys/vt.h> #include <unistd.h> + #include <libswscale/swscale.h> -#include <sys/mman.h> #include <xf86drm.h> #include <xf86drmMode.h> |