summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-22 21:07:37 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-22 21:07:37 +0100
commite49ceb869056255b8b6b94720b2279f6de88c893 (patch)
treecd146872fc8d5fe8f693890e0abc424ac2698255 /demos
parent924115bfcd5beae84f2e2d6b266c619659185475 (diff)
lib: unnecessary header removal for drmtest.h, part 1
Brought a few missing headers to light in ioctl_wrappers.h, too. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'demos')
-rw-r--r--demos/intel_sprite_on.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/demos/intel_sprite_on.c b/demos/intel_sprite_on.c
index 98c0af91..fb375f4f 100644
--- a/demos/intel_sprite_on.c
+++ b/demos/intel_sprite_on.c
@@ -47,10 +47,9 @@
#include "drmtest.h"
#include "igt_kms.h"
-#if defined(DRM_IOCTL_MODE_ADDFB2) && defined(DRM_I915_SET_SPRITE_COLORKEY)
-#define TEST_PLANES 1
-#include "drm_fourcc.h"
-#endif
+#include <drm_fourcc.h>
+
+#include "ioctl_wrappers.h"
/*
* Mode setting with the kernel interfaces is a bit of a chore.