]> Dogcows Code - chaz/openbox/commitdiff
don't include the y.tab.h inside the yacc file
authorDana Jansens <danakj@orodu.net>
Wed, 2 Apr 2003 17:21:59 +0000 (17:21 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 2 Apr 2003 17:21:59 +0000 (17:21 +0000)
openbox/parse.h
openbox/parse.yacc

index 3c649db10c5f40aa3f3029342c0b5ef4629357ec..9f9eda6d8855edeeba531c7ca8cdaba0a3fa39cc 100644 (file)
@@ -2,7 +2,9 @@
 #define __parse_h
 
 #include <glib.h>
-#include "y.tab.h"
+#ifndef NO_Y_H
+#  include "y.tab.h"
+#endif
 
 typedef enum {
     TOKEN_REAL       = REAL,
index e9b469e029628ef7f7dbf9ac0c0334c33434ad5f..8043c04a60f8a647fec786ea45d3851cbebfb55f 100644 (file)
@@ -1,5 +1,8 @@
 %{
+#define NO_Y_H
 #include "parse.h"
+#undef NO_Y_H
+
 #ifdef HAVE_STDIO_H
 #  include <stdio.h>
 #endif
This page took 0.023617 seconds and 4 git commands to generate.