[PATCH:xf86-video-geode] Properly hide config.h inclusion inside HAVE_CONFIG_H.

Thomas Klausner wiz at NetBSD.org
Mon Jul 20 01:37:47 PDT 2015


From: Matthew Green <mrg at NetBSD.org>

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 src/geode.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/geode.h b/src/geode.h
index ac69368..244cadf 100644
--- a/src/geode.h
+++ b/src/geode.h
@@ -28,7 +28,9 @@
 #define _GEODE_H_
 
 #include "geode_pcirename.h"
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
 
 #ifdef HAVE_XAA_H
 #include "xaa.h"
-- 
2.4.6



More information about the xorg-devel mailing list