From: Michael Beck Date: Tue, 28 Dec 2004 12:25:58 +0000 (+0000) Subject: replaces the include of by a forward definition of struct obstack. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=48ade735daa8901df3e9882675c8ee8e4c08ed49;p=libfirm replaces the include of by a forward definition of struct obstack. This allows to use the header file even if obstack.h did not exists... [r4770] --- diff --git a/ir/ir/irprintf.h b/ir/ir/irprintf.h index 20280a2ed..9abd396a1 100644 --- a/ir/ir/irprintf.h +++ b/ir/ir/irprintf.h @@ -23,7 +23,9 @@ #include #include #include -#include + +/* forward definition */ +struct obstack; /** * Something that can append strings and chars to something.