From 370338736c56f5083d60a19d4cc265c50f47f226 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 18 Feb 2016 11:10:49 +0100 Subject: [PATCH] gcc is picky, fix gcc warnings --- src/kernel/plane.h | 1 + src/kernel/region.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/kernel/plane.h b/src/kernel/plane.h index d8ec176a9..926ffb4e2 100644 --- a/src/kernel/plane.h +++ b/src/kernel/plane.h @@ -22,6 +22,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. extern "C" { #endif + struct faction; struct region; struct faction; struct plane; diff --git a/src/kernel/region.h b/src/kernel/region.h index 5974fd96c..72496193b 100644 --- a/src/kernel/region.h +++ b/src/kernel/region.h @@ -66,6 +66,7 @@ extern "C" { struct message_list; struct rawmaterial; struct item; + struct faction; #define MORALE_TAX_FACTOR 0.005 /* 0.5% tax per point of morale */ #define MORALE_MAX 10 /* Maximum morale allowed */