[Bf-blender-cvs] [7345d55] master: MinGW64 complains about clock, include time.h

Antony Riakiotakis noreply at git.blender.org
Tue Feb 3 12:32:01 CET 2015


Commit: 7345d558f9caa448dd1e63f0c2ae169345bb66df
Author: Antony Riakiotakis
Date:   Tue Feb 3 12:31:39 2015 +0100
Branches: master
https://developer.blender.org/rB7345d558f9caa448dd1e63f0c2ae169345bb66df

MinGW64 complains about clock, include time.h

===================================================================

M	source/blender/blenlib/intern/rand.c

===================================================================

diff --git a/source/blender/blenlib/intern/rand.c b/source/blender/blenlib/intern/rand.c
index 7657cec..a03b236 100644
--- a/source/blender/blenlib/intern/rand.c
+++ b/source/blender/blenlib/intern/rand.c
@@ -33,6 +33,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
+#include <time.h>
 
 #include "MEM_guardedalloc.h"




More information about the Bf-blender-cvs mailing list