diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-27 13:33:11 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-27 13:33:11 +0000 |
commit | c08b98ac167a79335ed19eca9d3e323147f5fbf1 (patch) | |
tree | c1b8caa0517105cdd58b4bbb43058aeb27a6fa5b /src | |
parent | be9a68f5b1e78d7e5be21b7553179814c55613fa (diff) | |
download | hercules-c08b98ac167a79335ed19eca9d3e323147f5fbf1.tar.gz hercules-c08b98ac167a79335ed19eca9d3e323147f5fbf1.tar.bz2 hercules-c08b98ac167a79335ed19eca9d3e323147f5fbf1.tar.xz hercules-c08b98ac167a79335ed19eca9d3e323147f5fbf1.zip |
* GCC on Cygwin still complaining, resorted to including limits.h in malloc.h
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5770 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/common/malloc.h | 2 | ||||
-rw-r--r-- | src/map/atcommand.c | 1 | ||||
-rw-r--r-- | src/map/charcommand.c | 1 | ||||
-rw-r--r-- | src/map/chrif.c | 1 | ||||
-rw-r--r-- | src/map/clif.c | 1 |
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"
|