summaryrefslogtreecommitdiff
path: root/tests/testdisplay.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2011-12-18 00:21:39 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2011-12-18 00:21:39 +0100
commit2de19c477af4f10370f1272e6578cec0d1b486bc (patch)
treea848fc14c451365f133c6e564d703f20d110fefb /tests/testdisplay.c
parent1f41a30070d62e007bfda9f8ddadc24877a3324c (diff)
testdisplay: move drm_fourcc.h include under the #ifdef protection
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/testdisplay.c')
-rw-r--r--tests/testdisplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index 308160f3..cc6153d6 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -65,11 +65,11 @@
#include "xf86drm.h"
#include "xf86drmMode.h"
-#include "drm_fourcc.h"
#include "i915_drm.h"
#if defined(DRM_IOCTL_MODE_ADDFB2) && defined(DRM_I915_SET_SPRITE_COLORKEY)
#define TEST_PLANES 1
+#include "drm_fourcc.h"
#endif
struct udev_monitor *uevent_monitor;