[PATCH:luit] Protect config.h inclusion by HAVE_CONFIG_H.

Thomas Klausner wiz at NetBSD.org
Sat Jul 25 11:01:20 PDT 2015


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

diff --git a/other.h b/other.h
index d18b586..1b156a7 100644
--- a/other.h
+++ b/other.h
@@ -23,7 +23,9 @@ THE SOFTWARE.
 #ifndef LUIT_OTHER_H
 #define LUIT_OTHER_H 1
 
+#ifdef HAVE_CONFIG_H
 #include "config.h"		/* include this, for self-contained headers */
+#endif
 
 #ifndef GCC_UNUSED
 # if defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 205)
-- 
2.4.6



More information about the xorg-devel mailing list