summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2010-06-08 12:14:00 +0100
committerDaniel Stone <daniel@fooishbar.org>2010-06-15 19:26:49 +0100
commit7f7a57c75beb5e1dfb53351e490ef00a324b2727 (patch)
tree1526198e91388c560eb1ff8232b361c2d878984e
parent9887842e33174a6e98675b912e419c711dd20c0f (diff)
downloadxorg-app-xkbcomp-7f7a57c75beb5e1dfb53351e490ef00a324b2727.tar.gz
Fix compilation with DEBUG
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-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)
{