summaryrefslogtreecommitdiff
path: root/xkbcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkbcomp.c')
-rw-r--r--xkbcomp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xkbcomp.c b/xkbcomp.c
index 98e0d26..1be264d 100644
--- a/xkbcomp.c
+++ b/xkbcomp.c
@@ -67,7 +67,9 @@
#define INPUT_XKB 1
#define INPUT_XKM 2
+#ifdef DEBUG
unsigned int debugFlags;
+#endif
static const char *fileTypeExt[] = {
"XXX",
@@ -905,7 +907,9 @@ main(int argc, char *argv[])
Status status;
scan_set_file(stdin);
+#ifdef DEBUG
uSetDebugFile(NullString);
+#endif
uSetErrorFile(NullString);
XkbInitIncludePath();