summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-03 02:12:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-03 02:12:18 +0300
commit1bc3956ffd2d62a57db6b6b5c841f8931fcf4d31 (patch)
tree70bf06ddebe4d9a0b9db9b6b2ecabb7cb317e59f
parent82644cd319e46e35a7b4e3b4a61fac2465a2ea66 (diff)
downloadmanaplus-1bc3956ffd2d62a57db6b6b5c841f8931fcf4d31.tar.gz
manaplus-1bc3956ffd2d62a57db6b6b5c841f8931fcf4d31.tar.bz2
manaplus-1bc3956ffd2d62a57db6b6b5c841f8931fcf4d31.tar.xz
manaplus-1bc3956ffd2d62a57db6b6b5c841f8931fcf4d31.zip
Add missing include in h files.
-rw-r--r--src/listeners/actorspritelistener.h2
-rw-r--r--src/listeners/playerrelationslistener.h2
-rw-r--r--src/net/uploadcharinfo.h11
-rw-r--r--src/options.h2
4 files changed, 17 insertions, 0 deletions
diff --git a/src/listeners/actorspritelistener.h b/src/listeners/actorspritelistener.h
index 0b898d2f4..4c93bef53 100644
--- a/src/listeners/actorspritelistener.h
+++ b/src/listeners/actorspritelistener.h
@@ -22,6 +22,8 @@
#ifndef LISTENERS_ACTORSPRITELISTENER_H
#define LISTENERS_ACTORSPRITELISTENER_H
+#include "localconsts.h"
+
class ActorSprite;
class ActorSpriteListener notfinal
diff --git a/src/listeners/playerrelationslistener.h b/src/listeners/playerrelationslistener.h
index a58cc5b04..83e08e804 100644
--- a/src/listeners/playerrelationslistener.h
+++ b/src/listeners/playerrelationslistener.h
@@ -25,6 +25,8 @@
#include <string>
+#include "localconsts.h"
+
class PlayerRelationsListener notfinal
{
public:
diff --git a/src/net/uploadcharinfo.h b/src/net/uploadcharinfo.h
index c8f15050c..83eb854f9 100644
--- a/src/net/uploadcharinfo.h
+++ b/src/net/uploadcharinfo.h
@@ -21,6 +21,17 @@
#ifndef NET_UPLOADCHRINFO_H
#define NET_UPLOADCHRINFO_H
+#include <string>
+
+#include "localconsts.h"
+
+class ChatTab;
+
+namespace Net
+{
+ class Download;
+}
+
struct UploadChatInfo final
{
UploadChatInfo() :
diff --git a/src/options.h b/src/options.h
index c5bb171cf..ebd9069a8 100644
--- a/src/options.h
+++ b/src/options.h
@@ -31,6 +31,8 @@
#include <stdint.h>
#endif
+#include "localconsts.h"
+
/**
* A structure holding the values of various options that can be passed
* from the command line.