From d22e9c9c1d669c27e50c3cd191cf19d31d67fb4d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 21 Apr 2003 00:45:08 +0000 Subject: [PATCH] try avoid cicular includes with the bison shit --- openbox/parse.h | 2 ++ openbox/parse.y | 2 ++ 2 files changed, 4 insertions(+) diff --git a/openbox/parse.h b/openbox/parse.h index d77b6924..3ce5ebbd 100644 --- a/openbox/parse.h +++ b/openbox/parse.h @@ -2,7 +2,9 @@ #define __parse_h #include +#ifndef NO_TAB_H #include "parse.tab.h" +#endif typedef enum { TOKEN_REAL = REAL, diff --git a/openbox/parse.y b/openbox/parse.y index de221f9f..aa59fe4c 100644 --- a/openbox/parse.y +++ b/openbox/parse.y @@ -17,7 +17,9 @@ } %{ +#define NO_TAB_H #include "parse.h" +#undef NO_TAB_H extern int yylex(); extern int yyparse(); -- 2.39.2