[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32008] trunk/blender/source/blender/ blenlib/BLI_storage.h: fix for some win32 setups not having size_t defined.
Campbell Barton
ideasman42 at gmail.com
Sun Sep 19 12:44:48 CEST 2010
Revision: 32008
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32008
Author: campbellbarton
Date: 2010-09-19 12:43:42 +0200 (Sun, 19 Sep 2010)
Log Message:
-----------
fix for some win32 setups not having size_t defined.
Reported by MiikaH on IRC.
Modified Paths:
--------------
trunk/blender/source/blender/blenlib/BLI_storage.h
Modified: trunk/blender/source/blender/blenlib/BLI_storage.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_storage.h 2010-09-19 07:07:14 UTC (rev 32007)
+++ trunk/blender/source/blender/blenlib/BLI_storage.h 2010-09-19 10:43:42 UTC (rev 32008)
@@ -40,6 +40,11 @@
#endif
#endif
+#ifdef WIN32
+/* for size_t, only needed on win32 for some reason */
+#include <sys/types.h>
+#endif
+
struct direntry;
More information about the Bf-blender-cvs
mailing list