[Intel-gfx] [PATCH igt 21/28] lib: Include drm_fourcc.h from igt_kms.h
Damien Lespiau
damien.lespiau at intel.com
Fri Feb 7 15:49:05 CET 2014
This include is needed for the DRM_FORMAT* defines used in the fb
creation helpers.
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
lib/igt_kms.h | 1 +
tests/kms_cursor_crc.c | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 8110dad..96dd9e4 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -27,6 +27,7 @@
#include <stdbool.h>
+#include <drm/drm_fourcc.h>
#include <cairo.h>
#include <igt_display.h>
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 6cdb785..e8c923f 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -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"
--
1.8.3.1
More information about the Intel-gfx
mailing list