summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-12-07 10:33:34 -0500
committerChris Wilson <chris@chris-wilson.co.uk>2017-02-10 21:52:47 +0000
commit93942b7de84ad16d34fac4b80bde6aec55786e05 (patch)
treec8e48b63f80950e3a1aa81fd517196bdbe127d0f
parente4fe79cf0d9a05ee3f3a027148ef0aeb2b1b34e1 (diff)
tools/backlight_helper: #include "config.h"
The file uses defines from config.h but never actually includes it. Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--tools/backlight_helper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/backlight_helper.c b/tools/backlight_helper.c
index a00f0d6b..aadb8fac 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>