summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-13 22:45:31 -0200
committershennetsind <ind@henn.et>2013-11-13 22:45:31 -0200
commit7d0a63b72f93c05b302c08cfb19d5651cef1cdb8 (patch)
tree0252fdbf4234314334de3328b11d508e7ecada84
parent8fda38dcdabbb9d252b0e11fb07b2ad37f9e659f (diff)
downloadhercules-7d0a63b72f93c05b302c08cfb19d5651cef1cdb8.tar.gz
hercules-7d0a63b72f93c05b302c08cfb19d5651cef1cdb8.tar.bz2
hercules-7d0a63b72f93c05b302c08cfb19d5651cef1cdb8.tar.xz
hercules-7d0a63b72f93c05b302c08cfb19d5651cef1cdb8.zip
Follow up 8fda38dcdabbb9d252b0e11fb07b2ad37f9e659f
Fixed compiler error on selected systems, thanks to haruna bringing it up! Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r--src/map/npc.c2
-rw-r--r--src/map/npc.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index effc36a4e..30cb94efe 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -12,6 +12,8 @@
#include "../common/ers.h"
#include "../common/db.h"
#include "../common/socket.h"
+#include "../common/HPM.h"
+
#include "map.h"
#include "log.h"
#include "clif.h"
diff --git a/src/map/npc.h b/src/map/npc.h
index 33be957fb..feee8f203 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -5,11 +5,11 @@
#ifndef _NPC_H_
#define _NPC_H_
-#include "../common/HPM.h" //struct HPluginData
-
#include "map.h" // struct block_list
#include "status.h" // struct status_change
#include "unit.h" // struct unit_data
+
+struct HPluginData;
struct block_list;
struct npc_data;
struct view_data;