summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xkbcomp.c2
-rw-r--r--xkbscan.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/xkbcomp.c b/xkbcomp.c
index bf3f670..b0df920 100644
--- a/xkbcomp.c
+++ b/xkbcomp.c
@@ -864,7 +864,9 @@ GetDisplay(char *program, char *dpyName)
/***====================================================================***/
+#ifdef DEBUG
extern int yydebug;
+#endif
int
main(int argc, char *argv[])
diff --git a/xkbscan.c b/xkbscan.c
index cb17d67..8c88ddd 100644
--- a/xkbscan.c
+++ b/xkbscan.c
@@ -55,6 +55,8 @@ static int readBufPos = 0;
static int readBufLen = 0;
#ifdef DEBUG
+extern int debugFlags;
+
static char *
tokText(int tok)
{