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
path: root/source
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2013-11-21 01:47:05 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-11-21 01:47:05 +0400
commit7cdfe18385b8ab1036a2208860d73af920533ae3 (patch)
treeca16193c5b381db93a0e155437fb540ab8ba18e8 /source
parentb0ea93aa9d74d09833fa19fcff4b1f04365906ac (diff)
Fix compile error on MinGW64, time.h is required for gmtime.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenloader/intern/readfile.c1
-rw-r--r--source/creator/creator.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index de055b22d74..ddb045de290 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -40,6 +40,7 @@
#include <string.h> // for strrchr strncmp strstr
#include <math.h> // for fabs
#include <stdarg.h> /* for va_start/end */
+#include <time.h> /* for gmtime */
#include "BLI_utildefines.h"
#ifndef WIN32
diff --git a/source/creator/creator.c b/source/creator/creator.c
index adedab80338..420dceb812b 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -63,6 +63,7 @@
#include <stddef.h>
#include <string.h>
#include <errno.h>
+#include <time.h>
/* This little block needed for linking to Blender... */