summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-21 00:45:08 +0000
committerDana Jansens <danakj@orodu.net>2003-04-21 00:45:08 +0000
commitd22e9c9c1d669c27e50c3cd191cf19d31d67fb4d (patch)
tree3012f05efac60f75b48eb0aa7093e7a9693f384b
parent573aaf7edeab41ee8f50400b0ecb952a5527d067 (diff)
try avoid cicular includes with the bison shit
-rw-r--r--openbox/parse.h2
-rw-r--r--openbox/parse.y2
2 files changed, 4 insertions, 0 deletions
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 <glib.h>
+#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();