From 81c8c18b5772b471e207af9d1afc971f0f32d0d3 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Sat, 18 Jun 2011 10:13:19 +0000 Subject: [PATCH] * Fixed missing strlib.h include for compilers without own 'strnlen' implementation (since r14853). git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14855 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/common/db.c | 1 + 2 files changed, 3 insertions(+) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index ef3d26a5fa..9a2ebd81f1 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 cd39f7a4b0..e3b0a37a64 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 *