]> Dogcows Code - chaz/openbox/commitdiff
try avoid cicular includes with the bison shit
authorDana Jansens <danakj@orodu.net>
Mon, 21 Apr 2003 00:45:08 +0000 (00:45 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 21 Apr 2003 00:45:08 +0000 (00:45 +0000)
openbox/parse.h
openbox/parse.y

index d77b6924a3c8539dd9958e6347c2b65166bf3217..3ce5ebbdc3420b1c6cac2a394ba2611530d54418 100644 (file)
@@ -2,7 +2,9 @@
 #define __parse_h
 
 #include <glib.h>
+#ifndef NO_TAB_H
 #include "parse.tab.h"
+#endif
 
 typedef enum {
     TOKEN_REAL       = REAL,
index de221f9f094fd6f13ce4e50c3f60566846632391..aa59fe4cabbcf45fa103174d5619d2b2a2e18085 100644 (file)
@@ -17,7 +17,9 @@
 }
 
 %{
+#define NO_TAB_H
 #include "parse.h"
+#undef NO_TAB_H
 
 extern int yylex();
 extern int yyparse();
This page took 0.024021 seconds and 4 git commands to generate.