Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Weikert <elubie@gmx.net>2008-12-20 15:43:53 +0300
committerAndrea Weikert <elubie@gmx.net>2008-12-20 15:43:53 +0300
commitcc80111b2bb9ccf62064979ae527cb2da10e4c31 (patch)
tree84865deb481042ec52c8220a91888162c0f9b063 /source/blender/blenlib/intern/string.c
parent851f437361c5036a565939155cfe45094e49711c (diff)
2.5
* fix lost declaration and missing includes after blenlib cleanup. * bump warning level to W3 for Debug in a few libraries for MSVC9 projectfiles. Others will follow.
Diffstat (limited to 'source/blender/blenlib/intern/string.c')
-rw-r--r--source/blender/blenlib/intern/string.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c
index 2fefe1d9b45..715a9316657 100644
--- a/source/blender/blenlib/intern/string.c
+++ b/source/blender/blenlib/intern/string.c
@@ -36,9 +36,12 @@
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <ctype.h>
#include "MEM_guardedalloc.h"
+#include "BLI_string.h"
+
char *BLI_strdupn(const char *str, int len) {
char *n= MEM_mallocN(len+1, "strdup");
memcpy(n, str, len);