summaryrefslogtreecommitdiff
path: root/tests/gem_mmap_wc.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-08-17 17:57:43 +0100
committerThomas Wood <thomas.wood@intel.com>2015-08-21 09:37:10 +0100
commit804e11f40defc1c53722914a449c6b2dcdbbf9a2 (patch)
treeed9d7e902de1f51ce6fa05937d3d92d1842c7935 /tests/gem_mmap_wc.c
parenta11879a4ab8840dae96867445ac27d100fc798d9 (diff)
lib: add a single include header
Add a header that includes all the headers for the library. This allows reorganisation of the library without affecting programs using it and also simplifies the headers that need to be included to use the library. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/gem_mmap_wc.c')
-rw-r--r--tests/gem_mmap_wc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/gem_mmap_wc.c b/tests/gem_mmap_wc.c
index 0a5326e9..f46c0459 100644
--- a/tests/gem_mmap_wc.c
+++ b/tests/gem_mmap_wc.c
@@ -26,6 +26,7 @@
*/
#define _GNU_SOURCE
+#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@@ -37,9 +38,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include "drm.h"
-#include "ioctl_wrappers.h"
-#include "drmtest.h"
-#include "igt_debugfs.h"
struct local_i915_gem_mmap_v2 {
uint32_t handle;