summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 *