Fix compilation with DEBUG Signed-off-by: Daniel Stone <daniel@fooishbar.org>
diff --git a/src/xkbcomp/xkbscan.c b/src/xkbcomp/xkbscan.c
index 0490512..1bf363d 100644
--- a/src/xkbcomp/xkbscan.c
+++ b/src/xkbcomp/xkbscan.c
@@ -53,6 +53,8 @@ static int readBufPos = 0;
static int readBufLen = 0;
#ifdef DEBUG
+extern int debugFlags;
+
static char *
tokText(int tok)
{