mirror of https://github.com/mgba-emu/mgba.git
Util: Fix build
This commit is contained in:
parent
47344bc08a
commit
ebbc51f23c
|
@ -28,6 +28,7 @@ CXX_GUARD_START
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
// WinSock2 gets very angry if it's included too late
|
// WinSock2 gets very angry if it's included too late
|
||||||
|
@ -36,7 +37,6 @@ CXX_GUARD_START
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <time.h>
|
|
||||||
typedef intptr_t ssize_t;
|
typedef intptr_t ssize_t;
|
||||||
#define PATH_MAX MAX_PATH
|
#define PATH_MAX MAX_PATH
|
||||||
#define restrict __restrict
|
#define restrict __restrict
|
||||||
|
|
Loading…
Reference in New Issue