aboutsummaryrefslogtreecommitdiff
path: root/xkbcomp/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'xkbcomp/utils.h')
-rw-r--r--xkbcomp/utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xkbcomp/utils.h b/xkbcomp/utils.h
index 63eda3632..b00067d6e 100644
--- a/xkbcomp/utils.h
+++ b/xkbcomp/utils.h
@@ -35,7 +35,9 @@
#include <X11/Xfuncs.h>
#include <stddef.h>
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#ifndef NUL
#define NUL '\0'
@@ -247,7 +249,7 @@ extern
extern int uDebugIndentSize;
#define uDebugIndent(l) (uDebugIndentLevel+=(l))
#define uDebugOutdent(l) (uDebugIndentLevel-=(l))
-#ifdef DEBUG_ON
+#ifdef DEBUG
#define uDEBUG(f,s) { if (DEBUG_VAR&(f)) uDebug(s);}
#define uDEBUG1(f,s,a) { if (DEBUG_VAR&(f)) uDebug(s,a);}
#define uDEBUG2(f,s,a,b) { if (DEBUG_VAR&(f)) uDebug(s,a,b);}