From 916271ef3ac2c90fd040479291372ceb2cbd8df9 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 17 Dec 2014 18:47:01 +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);