From cc987b449b0a2409e3dfbf54ab568391a94f75a1 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 1 Oct 2017 18:03:37 +0000 Subject: [PATCH] oslibs, SDL1.2: minor. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1511 af15c1b1-3010-417e-b628-4374ebc0bcbd --- MacOSX/SDL.framework/Versions/A/Headers/SDL_thread.h | 3 +++ Windows/SDL/include/SDL_thread.h | 3 +++ 2 files changed, 6 insertions(+) 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);