all repos — mgba @ ebbc51f23c423a233aa4fbae1bcb0ca7b71148d6

mGBA Game Boy Advance Emulator

Util: Fix build
Vicki Pfau vi@endrift.com
Wed, 18 Jan 2017 23:53:07 -0800
commit

ebbc51f23c423a233aa4fbae1bcb0ca7b71148d6

parent

47344bc08ad3ef95c009f4bc72ae936b6c50f5c5

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M include/mgba-util/common.hinclude/mgba-util/common.h

@@ -28,6 +28,7 @@ #include <stdint.h>

#include <stdio.h> #include <stdlib.h> #include <string.h> +#include <time.h> #ifdef _WIN32 // WinSock2 gets very angry if it's included too late

@@ -36,7 +37,6 @@ #endif

#ifdef _MSC_VER #include <Windows.h> #include <sys/types.h> -#include <time.h> typedef intptr_t ssize_t; #define PATH_MAX MAX_PATH #define restrict __restrict