diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-11-25 21:20:46 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-11-25 21:20:46 +0300 |
commit | 2582e3a90019d5d594be13c178b1054b7f3c71af (patch) | |
tree | 228658ebe6b4141f0168c6f9d5f3877e0fd61a0a | |
parent | 55d2a56d6020a5d286d5d44f7d2d8a8d0bc9bf58 (diff) |
Sculpt: fix windows compile issues, pointed out by JMS, thanks!
-rw-r--r-- | source/blender/blenlib/intern/string.c | 3 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_buffers.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c index 2ecdda2de35..3dc12174bd7 100644 --- a/source/blender/blenlib/intern/string.c +++ b/source/blender/blenlib/intern/string.c @@ -42,6 +42,9 @@ #include "BLI_dynstr.h" #include "BLI_string.h" +#ifdef WIN32 +#include "BLI_winstuff.h" +#endif char *BLI_strdupn(const char *str, int len) { char *n= MEM_mallocN(len+1, "strdup"); diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c index 65b81835cf9..9db7f9b1ce9 100644 --- a/source/blender/gpu/intern/gpu_buffers.c +++ b/source/blender/gpu/intern/gpu_buffers.c @@ -31,6 +31,7 @@ */ #include <limits.h> +#include <stddef.h> #include <string.h> #include "GL/glew.h" |