Commit 9c14c789adf74b5dd0a4c6133c8d27038f2e6119

Ozkan Sezer 2019-10-18T23:10:00

updated includes for _exit()

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/SDL.c b/src/SDL.c
index b7e68c4..7515a30 100644
--- a/src/SDL.c
+++ b/src/SDL.c
@@ -22,8 +22,10 @@
 
 #if defined(__WIN32__)
 #include "core/windows/SDL_windows.h"
+#elif defined(__OS2__)
+#include <stdlib.h> /* For _exit() */
 #elif !defined(__WINRT__)
-#include <unistd.h> // For _exit(), etc.
+#include <unistd.h> /* For _exit(), etc. */
 #endif
 
 #if defined(__EMSCRIPTEN__)