summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-06-18 10:13:19 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-06-18 10:13:19 +0000
commitb55e11eec98aa968500e6b63729c9bb813427fe4 (patch)
tree3faafeb1b02dffe85626796cdbb6e5e9a2dd281b
parent8af17f9980ea44989c273ba96bd6ba673847744d (diff)
downloadhercules-b55e11eec98aa968500e6b63729c9bb813427fe4.tar.gz
hercules-b55e11eec98aa968500e6b63729c9bb813427fe4.tar.bz2
hercules-b55e11eec98aa968500e6b63729c9bb813427fe4.tar.xz
hercules-b55e11eec98aa968500e6b63729c9bb813427fe4.zip
* Fixed missing strlib.h include for compilers without own 'strnlen' implementation (since r14853).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14855 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/common/db.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index ef3d26a5f..9a2ebd81f 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -1,5 +1,7 @@
Date Added
+2011/06/18
+ * Fixed missing strlib.h include for compilers without own 'strnlen' implementation (since r14853). [Ai4rei]
2011/06/16
* Slight speedup on most strdb operations [ultramage]
* Fixed DBMap's db_dup_key to allocate only as much as necessary (bugreport:4969) [ultramage]
diff --git a/src/common/db.c b/src/common/db.c
index cd39f7a4b..e3b0a37a6 100644
--- a/src/common/db.c
+++ b/src/common/db.c
@@ -74,6 +74,7 @@
#include "../common/malloc.h"
#include "../common/showmsg.h"
#include "../common/ers.h"
+#include "../common/strlib.h"
/*****************************************************************************\
* (1) Private typedefs, enums, structures, defines and global variables of *