fix compile error on MinGW32
authorAntony Riakiotakis <kalast@gmail.com>
Tue, 11 Mar 2014 19:46:12 +0000 (21:46 +0200)
committerAntony Riakiotakis <kalast@gmail.com>
Tue, 11 Mar 2014 19:46:12 +0000 (21:46 +0200)
source/blender/blenloader/intern/versioning_270.c

index d11e434aac08bce7d76c28a38add8156ed875a02..30d8bf429f013000b3806039fa7f202a6165462f 100644 (file)
@@ -28,6 +28,9 @@
 #include "BLI_utildefines.h"
 #include "BLI_compiler_attrs.h"
 
+/* for MinGW32 definition of NULL, could use BLI_blenlib.h instead too */
+#include <stddef.h>
+
 /* allow readfile to use deprecated functionality */
 #define DNA_DEPRECATED_ALLOW