This include is needed for the DRM_FORMAT* defines used in the fb creation helpers. Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx> --- 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 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx