diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-02-03 14:54:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-02-03 14:54:57 +0300 |
commit | ba8b9ae307010ee5e8e43c6afc4c9d0571c2bf73 (patch) | |
tree | 26ee4cfc6762866f12c3a7bc7bbccc0f4c978ecb /source/blender/blenlib/intern/rand.c | |
parent | 529ca9297563d44db6f7354438c183ad8f1fe18d (diff) |
Keep mingw specific includes ifdef'd
Diffstat (limited to 'source/blender/blenlib/intern/rand.c')
-rw-r--r-- | source/blender/blenlib/intern/rand.c | 5 |
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" |