summaryrefslogtreecommitdiff
path: root/tests/gem_set_tiling_vs_pwrite.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_set_tiling_vs_pwrite.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_set_tiling_vs_pwrite.c')
-rw-r--r--tests/gem_set_tiling_vs_pwrite.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/gem_set_tiling_vs_pwrite.c b/tests/gem_set_tiling_vs_pwrite.c
index f27accd7..fb3c7eea 100644
--- a/tests/gem_set_tiling_vs_pwrite.c
+++ b/tests/gem_set_tiling_vs_pwrite.c
@@ -34,7 +34,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"