mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Common: Include unistd.h before ctime on mingw.
This is required for localtime_r and similar to be available.
This commit is contained in:
1 parent
7aa4b53422
commit
0ffac20fcd
7 files changed
+33
-1
No files matched your search
+1
-1
@@ -1,6 +1,5 @@
|
||||
#include <cstdio>
|
||||
#include <cstdint>
|
||||
#include <ctime>
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
|
||||
@@ -18,6 +17,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <ctime>
|
||||
|
||||
static double curtime = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user