Fix to compile windows build with MinGW32

This commit is contained in:
Thomas Bernard
2018-02-17 17:12:09 +01:00
parent 3c3ef150a6
commit dc4926b7c0
2 changed files with 5 additions and 0 deletions

View File

@@ -31,6 +31,9 @@
#ifndef _MSC_VER
#include <unistd.h>
#endif
#if defined(WIN32)
#include <windows.h>
#endif
#include <limits.h>
#include <SDL_image.h>
#include <SDL_endian.h>