Explorar o código

Fixed build on iOS

Sam Lantinga %!s(int64=5) %!d(string=hai) anos
pai
achega
8984d25bfa
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/SDL.c

+ 3 - 0
src/SDL.c

@@ -23,6 +23,9 @@
 #if defined(__WIN32__)
 #include "core/windows/SDL_windows.h"
 #endif
+#if defined(__IPHONEOS__)
+#include <unistd.h>
+#endif
 
 #if defined(__EMSCRIPTEN__)
 #include <emscripten.h>