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 *