[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24894] branches/sculpt25/source/blender: Sculpt: fix windows compile issues, pointed out by JMS, thanks!

Brecht Van Lommel brecht at blender.org
Wed Nov 25 19:20:46 CET 2009


Revision: 24894
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24894
Author:   blendix
Date:     2009-11-25 19:20:46 +0100 (Wed, 25 Nov 2009)

Log Message:
-----------
Sculpt: fix windows compile issues, pointed out by JMS, thanks!

Modified Paths:
--------------
    branches/sculpt25/source/blender/blenlib/intern/string.c
    branches/sculpt25/source/blender/gpu/intern/gpu_buffers.c

Modified: branches/sculpt25/source/blender/blenlib/intern/string.c
===================================================================
--- branches/sculpt25/source/blender/blenlib/intern/string.c	2009-11-25 17:51:16 UTC (rev 24893)
+++ branches/sculpt25/source/blender/blenlib/intern/string.c	2009-11-25 18:20:46 UTC (rev 24894)
@@ -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");

Modified: branches/sculpt25/source/blender/gpu/intern/gpu_buffers.c
===================================================================
--- branches/sculpt25/source/blender/gpu/intern/gpu_buffers.c	2009-11-25 17:51:16 UTC (rev 24893)
+++ branches/sculpt25/source/blender/gpu/intern/gpu_buffers.c	2009-11-25 18:20:46 UTC (rev 24894)
@@ -31,6 +31,7 @@
  */
 
 #include <limits.h>
+#include <stddef.h>
 #include <string.h>
 
 #include "GL/glew.h"





More information about the Bf-blender-cvs mailing list