summaryrefslogtreecommitdiff
path: root/tests/gem_mmap_gtt.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_mmap_gtt.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_mmap_gtt.c')
-rw-r--r--tests/gem_mmap_gtt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/gem_mmap_gtt.c b/tests/gem_mmap_gtt.c
index ed040484..79e34e2e 100644
--- a/tests/gem_mmap_gtt.c
+++ b/tests/gem_mmap_gtt.c
@@ -35,7 +35,6 @@
#include <errno.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
-#include <sys/mman.h>
#include "drm.h"
#include "i915_drm.h"
#include "drmtest.h"