From 2582e3a90019d5d594be13c178b1054b7f3c71af Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 25 Nov 2009 18:20:46 +0000 Subject: Sculpt: fix windows compile issues, pointed out by JMS, thanks! --- source/blender/blenlib/intern/string.c | 3 +++ source/blender/gpu/intern/gpu_buffers.c | 1 + 2 files changed, 4 insertions(+) (limited to 'source') 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 +#include #include #include "GL/glew.h" -- cgit v1.2.3