summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/chat-server/chathandler.cpp1
-rw-r--r--src/game-server/character.cpp1
-rw-r--r--src/utils/encryption.cpp1
-rw-r--r--src/utils/sha256.cpp1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/chat-server/chathandler.cpp b/src/chat-server/chathandler.cpp
index 113ad1f8..d56f2b87 100644
--- a/src/chat-server/chathandler.cpp
+++ b/src/chat-server/chathandler.cpp
@@ -22,6 +22,7 @@
*/
#include <list>
+#include <algorithm>
#include "defines.h"
#include "chat-server/guild.hpp"
diff --git a/src/game-server/character.cpp b/src/game-server/character.cpp
index f169bd26..0c15ad6c 100644
--- a/src/game-server/character.cpp
+++ b/src/game-server/character.cpp
@@ -23,6 +23,7 @@
#include <algorithm>
#include <cassert>
#include <cmath>
+#include <limits.h>
#include "game-server/character.hpp"
diff --git a/src/utils/encryption.cpp b/src/utils/encryption.cpp
index b67b8f87..296a8631 100644
--- a/src/utils/encryption.cpp
+++ b/src/utils/encryption.cpp
@@ -24,6 +24,7 @@
#include "encryption.h"
#include <time.h>
+#include <stdlib.h>
using namespace Encryption;
diff --git a/src/utils/sha256.cpp b/src/utils/sha256.cpp
index 98a47137..547425cc 100644
--- a/src/utils/sha256.cpp
+++ b/src/utils/sha256.cpp
@@ -71,6 +71,7 @@
*/
#include "sha256.h"
+#include <memory.h>
#ifdef HAS_STDINT
#include <stdint.h>