win32: avoid taking 100% CPU time

This commit is contained in:
Thomas Bernard
2018-06-21 16:06:53 +02:00
parent 467eeaf217
commit eb65d1006a
2 changed files with 12 additions and 0 deletions

View File

@@ -57,6 +57,10 @@
#define snprintf _snprintf
#endif
#endif
#if defined(WIN32)
#include <windows.h>
#include <malloc.h>
#endif
#if defined(USE_SDL) || defined(USE_SDL2)
#include <SDL_image.h>