summaryrefslogtreecommitdiff
path: root/lib/drmtest.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-22 21:29:01 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-22 21:29:01 +0100
commit254f19ba8dc4b00d0d5df0a4f8d0a0cb104b2df5 (patch)
tree31e0e88971205d7483ed7602cf65214f95dc0b29 /lib/drmtest.h
parente49ceb869056255b8b6b94720b2279f6de88c893 (diff)
lib: unnecessary header removal for drmtest.h, part 2
I've left unistd.h in it - it's not strictly required but most users of drmtest.h want it for the open helpers, and then you kinda need to close that file descriptor again ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/drmtest.h')
-rw-r--r--lib/drmtest.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/drmtest.h b/lib/drmtest.h
index 4c55068e..97d60d0c 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -28,16 +28,13 @@
#ifndef DRMTEST_H
#define DRMTEST_H
-#include <stdio.h>
-#include <stdlib.h>
#include <unistd.h>
-#include <errno.h>
#include <stdbool.h>
+#include <stdint.h>
#include <sys/mman.h>
-#include "xf86drm.h"
-#include "xf86drmMode.h"
-#include "intel_batchbuffer.h"
+#include <xf86drm.h>
+#include <intel_batchbuffer.h>
#ifdef ANDROID
#ifndef HAVE_MMAP64