all repos — openbox @ 8dd9a7c7fb811f633c9e2959fa27c16c7a366f9c

openbox fork - make it a bit more like ryudo

don't include the y.tab.h inside the yacc file
Dana Jansens danakj@orodu.net
commit

8dd9a7c7fb811f633c9e2959fa27c16c7a366f9c

parent

fa741bc010435e1be6c2739257e01243191e1deb

2 files changed, 6 insertions(+), 1 deletions(-)

jump to
M openbox/parse.hopenbox/parse.h

@@ -2,7 +2,9 @@ #ifndef __parse_h

#define __parse_h #include <glib.h> -#include "y.tab.h" +#ifndef NO_Y_H +# include "y.tab.h" +#endif typedef enum { TOKEN_REAL = REAL,
M openbox/parse.yaccopenbox/parse.yacc

@@ -1,5 +1,8 @@

%{ +#define NO_Y_H #include "parse.h" +#undef NO_Y_H + #ifdef HAVE_STDIO_H # include <stdio.h> #endif