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:
-rw-r--r--source/blender/blenlib/intern/string.c3
-rw-r--r--source/blender/gpu/intern/gpu_buffers.c1
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"