[Intel-gfx] [PATCH i-g-t] include inttypes.h for PRI defines

Mike Frysinger vapier at gentoo.org
Wed Jun 22 11:08:09 UTC 2016


Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96620
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 lib/igt_fb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 61205f345707..ba29eae5cabd 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -28,6 +28,7 @@
 #define _GNU_SOURCE
 #include <stdio.h>
 #include <math.h>
+#include <inttypes.h>
 
 #include "drmtest.h"
 #include "igt_fb.h"
-- 
2.8.2



More information about the Intel-gfx mailing list