[Intel-gfx] [PATCH xf86-video-intel v2] tools/backlight_helper: #include "config.h"

Mike Frysinger vapier at gentoo.org
Wed Dec 7 15:33:34 UTC 2016


From: Mike Gilbert <floppym at gentoo.org>

The file uses defines from config.h but never actually includes it.

Signed-off-by: Mike Gilbert <floppym at gentoo.org>
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 tools/backlight_helper.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/backlight_helper.c b/tools/backlight_helper.c
index a00f0d6bd8a2..aadb8fac92ba 100644
--- a/tools/backlight_helper.c
+++ b/tools/backlight_helper.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
-- 
2.11.0.rc2



More information about the Intel-gfx mailing list