diff -r aea98cc3e696 src/thread/generic/SDL_systhread.c --- a/src/thread/generic/SDL_systhread.c Thu Aug 29 15:02:32 2013 -0300 +++ b/src/thread/generic/SDL_systhread.c Fri Aug 30 01:22:16 2013 +0400 @@ -23,6 +23,7 @@ /* Thread management routines for SDL */ #include "SDL_thread.h" +#include "../SDL_thread_c.h" #include "../SDL_systhread.h" #ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD diff -r aea98cc3e696 src/thread/generic/SDL_systls.c --- a/src/thread/generic/SDL_systls.c Thu Aug 29 15:02:32 2013 -0300 +++ b/src/thread/generic/SDL_systls.c Fri Aug 30 01:22:16 2013 +0400 @@ -20,6 +20,7 @@ */ #include "SDL_config.h" +#include "SDL_thread.h" #include "../SDL_thread_c.h"