From 7f7a57c75beb5e1dfb53351e490ef00a324b2727 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 8 Jun 2010 12:14:00 +0100 Subject: Fix compilation with DEBUG Signed-off-by: Daniel Stone --- xkbcomp.c | 2 ++ xkbscan.c | 2 ++ 2 files changed, 4 insertions(+) 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) { -- cgit v1.2.3