summaryrefslogtreecommitdiffstats
path: root/kdecore/fixx11h.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/fixx11h.h')
-rw-r--r--kdecore/fixx11h.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kdecore/fixx11h.h b/kdecore/fixx11h.h
index ec8e53ab9..e572335a1 100644
--- a/kdecore/fixx11h.h
+++ b/kdecore/fixx11h.h
@@ -57,15 +57,18 @@ const XID None = XNone;
// template --->
// Affects: Should be without side effects.
+#ifndef _XTYPEDEF_BOOL
#ifdef Bool
#ifndef FIXX11H_Bool
#define FIXX11H_Bool
typedef Bool XBool;
#undef Bool
+#define _XTYPEDEF_BOOL
typedef XBool Bool;
#endif
#undef Bool
#endif
+#endif // _XTYPEDEF_BOOL
// template <---
// Affects: Should be without side effects.