Fix compile error on MinGW64, time.h is required for gmtime.

This commit is contained in:
Antonis Ryakiotakis 2013-11-20 23:47:05 +02:00
parent b0ea93aa9d
commit 7cdfe18385
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -63,6 +63,7 @@
#include <stddef.h>
#include <string.h>
#include <errno.h>
#include <time.h>
/* This little block needed for linking to Blender... */