public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib/igt_fb: add missing include in header
@ 2023-01-20 17:00 Kamil Konieczny
  2023-01-20 17:26 ` Swati Sharma
  2023-01-20 18:36 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Kamil Konieczny @ 2023-01-20 17:00 UTC (permalink / raw)
  To: igt-dev; +Cc: Petri Latvala

Direct include of lib igt_fb header breaks builds with errors

xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’

Fixed it with adding proper include in header.

Cc: Swati Sharma <swati2.sharma@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>

---
Maybe it is worth to put this patch as first, together with
https://patchwork.freedesktop.org/series/113045/
tests/i915/kms_dsc: Reorg
so it can be tested in CI.
---
 lib/igt_fb.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/igt_fb.h b/lib/igt_fb.h
index 6995b14b..73bdfc86 100644
--- a/lib/igt_fb.h
+++ b/lib/igt_fb.h
@@ -32,6 +32,7 @@
 #include <cairo.h>
 #include <stddef.h>
 #include <stdbool.h>
+#include <stdint.h>
 #include <drm_fourcc.h>
 #include <xf86drmMode.h>
 
-- 
2.37.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-20 18:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-20 17:00 [igt-dev] [PATCH i-g-t] lib/igt_fb: add missing include in header Kamil Konieczny
2023-01-20 17:26 ` Swati Sharma
2023-01-20 18:36 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox