include/SDL_thread.h
branchSDL-1.2
changeset 11544 15a09f7c6ed8
parent 6137 4720145f848b
     1.1 --- a/include/SDL_thread.h	Fri Sep 22 18:31:25 2017 +0200
     1.2 +++ b/include/SDL_thread.h	Sat Sep 23 12:39:52 2017 -0700
     1.3 @@ -64,6 +64,9 @@
     1.4  #ifndef _WIN32_WCE
     1.5  #include <process.h> /* This has _beginthread() and _endthread() defined! */
     1.6  #endif
     1.7 +#ifdef __EMX__
     1.8 +#include <stdlib.h>
     1.9 +#endif
    1.10  
    1.11  #ifdef __OS2__
    1.12  typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg);