diff --git a/src/cfgparse.l b/src/cfgparse.l index c319137b..7880ef7c 100644 --- a/src/cfgparse.l +++ b/src/cfgparse.l @@ -1,5 +1,6 @@ %{ #include +#include #include "cfgparse.tab.h" #include diff --git a/src/cfgparse.y b/src/cfgparse.y index 7875f86e..9464e3b1 100644 --- a/src/cfgparse.y +++ b/src/cfgparse.y @@ -15,6 +15,8 @@ #include "util.h" #include "queue.h" #include "table.h" +#include "workspace.h" +#include "xcb.h" extern int yylex(void); extern FILE *yyin; diff --git a/src/config.c b/src/config.c index ffc8b7ed..b9722fc5 100644 --- a/src/config.c +++ b/src/config.c @@ -26,6 +26,10 @@ #include "table.h" #include "workspace.h" +/* prototype for src/cfgparse.y, will be cleaned up as soon as we completely + * switched to the new scanner/parser. */ +void parse_file(const char *f); + Config config; bool config_use_lexer = false;