summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_exec.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-09-03 10:38:29 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-09-03 10:38:29 +0200
commit225a91bc54050d05450e3481d0fcab24d56f94fc (patch)
tree57bf117277a15176f1c096ab689bcf57bbe022dd /tests/gem_ctx_exec.c
parent9cc16e8afd0269d6f94107b2044240e45334e64d (diff)
lib/drmtest: include sys/mman.h from drmtest.h
We need it for mmapping to get at PROT_READ|WRITE anyway. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_ctx_exec.c')
-rw-r--r--tests/gem_ctx_exec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/gem_ctx_exec.c b/tests/gem_ctx_exec.c
index 7b5be567..5f2c59f4 100644
--- a/tests/gem_ctx_exec.c
+++ b/tests/gem_ctx_exec.c
@@ -39,7 +39,6 @@
#include <errno.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
-#include <sys/mman.h>
#include <sys/time.h>
#include "drm.h"
#include "i915_drm.h"