Fixed build on iOS
diff --git a/src/SDL.c b/src/SDL.c
index 4ad7d0d..aa09b95 100644
--- a/src/SDL.c
+++ b/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>