calculate-overlay/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-config-header.patch

27 lines
705 B
Diff

https://bugs.gentoo.org/575970
https://lists.freedesktop.org/archives/intel-gfx/2016-December/113685.html
From 7cb250a3ce966dc0c96d167669922b0667160d1e Mon Sep 17 00:00:00 2001
From: Mike Gilbert <floppym@gentoo.org>
Date: Wed, 13 Apr 2016 21:35:37 -0400
Subject: [PATCH] tools/backlight_helper: #include "config.h"
---
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