From bc8f8c74f934850624bc86e6e5806fa20607a52d Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 17 Dec 2014 17:46:21 +0100 Subject: [PATCH] gcc/clang want structs to be defined before used in an argument list --- src/lighthouse.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lighthouse.h b/src/lighthouse.h index 874e0fe8c..6000248ba 100644 --- a/src/lighthouse.h +++ b/src/lighthouse.h @@ -23,6 +23,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. extern "C" { #endif + + struct faction; + struct region; + struct building; /* leuchtturm */ bool check_leuchtturm(struct region *r, struct faction *f); void update_lighthouse(struct building *lh);