lib: Include drm_fourcc.h from igt_kms.h
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 6 Feb 2014 19:09:53 +0000 (19:09 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Tue, 11 Feb 2014 13:50:16 +0000 (13:50 +0000)
This include is needed for the DRM_FORMAT* defines used in the fb
creation helpers.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
lib/igt_kms.h
tests/kms_cursor_crc.c

index 8110dad..96dd9e4 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <stdbool.h>
 
+#include <drm/drm_fourcc.h>
 #include <cairo.h>
 
 #include <igt_display.h>
index 6cdb785..e8c923f 100644 (file)
@@ -28,8 +28,6 @@
 #include <stdio.h>
 #include <string.h>
 
-#include "drm_fourcc.h"
-
 #include "drmtest.h"
 #include "igt_debugfs.h"
 #include "igt_kms.h"