diff --git a/MacOSX/SDL.framework/Versions/A/Headers/SDL_thread.h b/MacOSX/SDL.framework/Versions/A/Headers/SDL_thread.h index 9ebe00ed..b7d5a917 100644 --- a/MacOSX/SDL.framework/Versions/A/Headers/SDL_thread.h +++ b/MacOSX/SDL.framework/Versions/A/Headers/SDL_thread.h @@ -64,6 +64,9 @@ typedef struct SDL_Thread SDL_Thread; #ifndef _WIN32_WCE #include /* This has _beginthread() and _endthread() defined! */ #endif +#ifdef __EMX__ +#include +#endif #ifdef __OS2__ typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg); diff --git a/Windows/SDL/include/SDL_thread.h b/Windows/SDL/include/SDL_thread.h index 9ebe00ed..b7d5a917 100644 --- a/Windows/SDL/include/SDL_thread.h +++ b/Windows/SDL/include/SDL_thread.h @@ -64,6 +64,9 @@ typedef struct SDL_Thread SDL_Thread; #ifndef _WIN32_WCE #include /* This has _beginthread() and _endthread() defined! */ #endif +#ifdef __EMX__ +#include +#endif #ifdef __OS2__ typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg);