Sculpt: fix windows compile issues, pointed out by JMS, thanks!
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 25 Nov 2009 18:20:46 +0000 (18:20 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 25 Nov 2009 18:20:46 +0000 (18:20 +0000)
source/blender/blenlib/intern/string.c
source/blender/gpu/intern/gpu_buffers.c

index 2ecdda2de3591ce601f393d5708c974351bb738b..3dc12174bd7b03ad1f3340cfc7b23bfbd8e65682 100644 (file)
@@ -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");
index 65b81835cf9e4acb731a3245ffd31a3645332571..9db7f9b1ce97aa59a4160000c4551949a7e3cbb7 100644 (file)
@@ -31,6 +31,7 @@
  */
 
 #include <limits.h>
+#include <stddef.h>
 #include <string.h>
 
 #include "GL/glew.h"