summaryrefslogtreecommitdiff
path: root/tests/gem_mmap_offset_exhaustion.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_offset_exhaustion.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_offset_exhaustion.c')
-rw-r--r--tests/gem_mmap_offset_exhaustion.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/gem_mmap_offset_exhaustion.c b/tests/gem_mmap_offset_exhaustion.c
index 1ec3299f..d834fda4 100644
--- a/tests/gem_mmap_offset_exhaustion.c
+++ b/tests/gem_mmap_offset_exhaustion.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"