Fix compile error on MinGW64, time.h is required for gmtime.
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
#include <string.h> // for strrchr strncmp strstr
|
#include <string.h> // for strrchr strncmp strstr
|
||||||
#include <math.h> // for fabs
|
#include <math.h> // for fabs
|
||||||
#include <stdarg.h> /* for va_start/end */
|
#include <stdarg.h> /* for va_start/end */
|
||||||
|
#include <time.h> /* for gmtime */
|
||||||
|
|
||||||
#include "BLI_utildefines.h"
|
#include "BLI_utildefines.h"
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
|
@@ -63,6 +63,7 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
/* This little block needed for linking to Blender... */
|
/* This little block needed for linking to Blender... */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user