[igt-dev] [PATCH i-g-t] lib/igt_edid: fix missing include in header

Simon Ser simon.ser at intel.com
Tue Jun 4 11:57:17 UTC 2019


detailed_timing_set_mode uses detailed_timing_set_mode from xf86drmMode.h, but
doesn't include it. This has gone unnoticed because all the igt_edid users
were already including this file.

Signed-off-by: Simon Ser <simon.ser at intel.com>
Fixes: a2fd0489c87a ("lib/igt_edid: new library for generating EDIDs")
---
 lib/igt_edid.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/igt_edid.h b/lib/igt_edid.h
index 7edd7e38f41e..1d0c6aa29578 100644
--- a/lib/igt_edid.h
+++ b/lib/igt_edid.h
@@ -30,6 +30,8 @@

 #include <stdint.h>

+#include <xf86drmMode.h>
+
 struct est_timings {
 	uint8_t t1;
 	uint8_t t2;
--
2.21.0



More information about the igt-dev mailing list