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:
authorCampbell Barton <ideasman42@gmail.com>2015-02-03 14:54:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-02-03 14:54:57 +0300
commitba8b9ae307010ee5e8e43c6afc4c9d0571c2bf73 (patch)
tree26ee4cfc6762866f12c3a7bc7bbccc0f4c978ecb /source/blender/blenlib/intern/rand.c
parent529ca9297563d44db6f7354438c183ad8f1fe18d (diff)
Keep mingw specific includes ifdef'd
Diffstat (limited to 'source/blender/blenlib/intern/rand.c')
-rw-r--r--source/blender/blenlib/intern/rand.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/rand.c b/source/blender/blenlib/intern/rand.c
index a03b236b5c6..ea1349156ba 100644
--- a/source/blender/blenlib/intern/rand.c
+++ b/source/blender/blenlib/intern/rand.c
@@ -33,7 +33,10 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
-#include <time.h>
+
+#ifdef __MINGW32__
+# include <time.h>
+#endif
#include "MEM_guardedalloc.h"