replaces the include of <obstack.h> by a forward definition of struct obstack.
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 28 Dec 2004 12:25:58 +0000 (12:25 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 28 Dec 2004 12:25:58 +0000 (12:25 +0000)
This allows to use the header file even if obstack.h did not exists...

[r4770]

ir/ir/irprintf.h

index 20280a2..9abd396 100644 (file)
@@ -23,7 +23,9 @@
 #include <stddef.h>
 #include <stdarg.h>
 #include <stdio.h>
-#include <obstack.h>
+
+/* forward definition */
+struct obstack;
 
 /**
  * Something that can append strings and chars to something.