From b3585338e36d7a660fe3019131746feb9e445308 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Mon, 23 Feb 2015 09:11:55 +0100 Subject: Fix header inclusion order problem in spells3.cc We failed to include spells3.hpp first, which could cause spurious trouble for clients of spells3.hpp. --- src/spells3.cc | 2 +- src/spells3.hpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/spells3.cc b/src/spells3.cc index 86754a34..205b5bd1 100644 --- a/src/spells3.cc +++ b/src/spells3.cc @@ -1,5 +1,5 @@ -#include "angband.h" #include "spells3.hpp" +#include "angband.h" #include diff --git a/src/spells3.hpp b/src/spells3.hpp index eac626e7..992aed0e 100644 --- a/src/spells3.hpp +++ b/src/spells3.hpp @@ -1,5 +1,9 @@ #pragma once +#include "spell_type_fwd.h" +#include "h-basic.h" +#include "types_fwd.h" + extern s32b NOXIOUSCLOUD; extern s32b AIRWINGS; extern s32b INVISIBILITY; -- cgit v1.2.3