[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg-devel
Subject: [PATCH:luit] Protect config.h inclusion by HAVE_CONFIG_H.
From: Thomas Klausner <wiz () NetBSD ! org>
Date: 2015-07-25 18:01:20
Message-ID: 1437847280-15491-1-git-send-email-wiz () NetBSD ! org
[Download RAW message or body]
Signed-off-by: Thomas Klausner <wiz@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
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic