summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/malloc.h2
-rw-r--r--src/map/atcommand.c1
-rw-r--r--src/map/charcommand.c1
-rw-r--r--src/map/chrif.c1
-rw-r--r--src/map/clif.c1
5 files changed, 2 insertions, 4 deletions
diff --git a/src/common/malloc.h b/src/common/malloc.h
index e9dbb9d44..d6c6e50c4 100644
--- a/src/common/malloc.h
+++ b/src/common/malloc.h
@@ -15,6 +15,8 @@
#endif
#define ALC_MARK __FILE__, __LINE__, __func__
+#include "limits.h"
+
//////////////////////////////////////////////////////////////////////
// Whether to use Athena's built-in Memory Manager (enabled by default)
// To disable just comment the following line
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 4f1776d62..9d4bbe155 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -13,7 +13,6 @@
#include "../common/mmo.h"
#include "../common/core.h"
#include "../common/showmsg.h"
-#include "../common/limits.h"
#include "log.h"
#include "clif.h"
diff --git a/src/map/charcommand.c b/src/map/charcommand.c
index 4e9b8b542..27e92029a 100644
--- a/src/map/charcommand.c
+++ b/src/map/charcommand.c
@@ -10,7 +10,6 @@
#include "../common/socket.h"
#include "../common/timer.h"
#include "../common/nullpo.h"
-#include "../common/limits.h"
#include "log.h"
#include "clif.h"
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 33fb309ac..3a11222fb 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -14,7 +14,6 @@
#endif
#include <sys/types.h>
#include <time.h>
-#include "../common/limits.h"
#include "../common/malloc.h"
#include "socket.h"
diff --git a/src/map/clif.c b/src/map/clif.c
index 2e8d34c46..1e7f6baa9 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -27,7 +27,6 @@
#include "../common/version.h"
#include "../common/nullpo.h"
#include "../common/showmsg.h"
-#include "../common/limits.h"
#include "map.h"
#include "chrif.h"