Patched to compile on various platforms.
--- a/src/audio/pulseaudio/SDL_pulseaudio.c Tue Apr 12 16:45:10 2016 -0400
+++ b/src/audio/pulseaudio/SDL_pulseaudio.c Tue Apr 12 18:11:36 2016 -0400
@@ -46,7 +46,7 @@
#include "../SDL_audio_c.h"
#include "SDL_pulseaudio.h"
#include "SDL_loadso.h"
-#include "../thread/SDL_systhread.h"
+#include "../../thread/SDL_systhread.h"
#if (PA_API_VERSION < 12)
/** Return non-zero if the passed state is one of the connected states */
--- a/src/haptic/windows/SDL_xinputhaptic.c Tue Apr 12 16:45:10 2016 -0400
+++ b/src/haptic/windows/SDL_xinputhaptic.c Tue Apr 12 18:11:36 2016 -0400
@@ -33,7 +33,7 @@
#include "SDL_xinputhaptic_c.h"
#include "../../core/windows/SDL_xinput.h"
#include "../../joystick/windows/SDL_windowsjoystick_c.h"
-#include "../thread/SDL_systhread.h"
+#include "../../thread/SDL_systhread.h"
/*
* Internal stuff.
--- a/src/joystick/psp/SDL_sysjoystick.c Tue Apr 12 16:45:10 2016 -0400
+++ b/src/joystick/psp/SDL_sysjoystick.c Tue Apr 12 18:11:36 2016 -0400
@@ -36,7 +36,7 @@
#include "SDL_error.h"
#include "SDL_mutex.h"
#include "SDL_timer.h"
-#include "../thread/SDL_systhread.h"
+#include "../../thread/SDL_systhread.h"
/* Current pad state */
static SceCtrlData pad = { .Lx = 0, .Ly = 0, .Buttons = 0 };
--- a/src/joystick/windows/SDL_windowsjoystick.c Tue Apr 12 16:45:10 2016 -0400
+++ b/src/joystick/windows/SDL_windowsjoystick.c Tue Apr 12 18:11:36 2016 -0400
@@ -41,7 +41,7 @@
#include "SDL_hints.h"
#include "SDL_joystick.h"
#include "../SDL_sysjoystick.h"
-#include "../thread/SDL_systhread.h"
+#include "../../thread/SDL_systhread.h"
#if !SDL_EVENTS_DISABLED
#include "../../events/SDL_events_c.h"
#endif
--- a/src/main/haiku/SDL_BeApp.cc Tue Apr 12 16:45:10 2016 -0400
+++ b/src/main/haiku/SDL_BeApp.cc Tue Apr 12 18:11:36 2016 -0400
@@ -33,7 +33,7 @@
#include "SDL_BeApp.h"
#include "SDL_timer.h"
#include "SDL_error.h"
-#include "../thread/SDL_systhread.h"
+#include "../../thread/SDL_systhread.h"
#include "../../video/haiku/SDL_BWin.h"
--- a/src/video/cocoa/SDL_cocoamousetap.m Tue Apr 12 16:45:10 2016 -0400
+++ b/src/video/cocoa/SDL_cocoamousetap.m Tue Apr 12 18:11:36 2016 -0400
@@ -33,7 +33,7 @@
#include "SDL_keyboard.h"
#include "SDL_cocoavideo.h"
-#include "../thread/SDL_systhread.h"
+#include "../../thread/SDL_systhread.h"
#include "../../events/SDL_mouse_c.h"
--- a/src/video/psp/SDL_pspevents.c Tue Apr 12 16:45:10 2016 -0400
+++ b/src/video/psp/SDL_pspevents.c Tue Apr 12 18:11:36 2016 -0400
@@ -32,7 +32,7 @@
#include "SDL_pspvideo.h"
#include "SDL_pspevents_c.h"
#include "SDL_keyboard.h"
-#include "../thread/SDL_systhread.h"
+#include "../../thread/SDL_systhread.h"
#include <psphprm.h>
#ifdef PSPIRKEYB
--- a/src/video/winrt/SDL_winrtevents.cpp Tue Apr 12 16:45:10 2016 -0400
+++ b/src/video/winrt/SDL_winrtevents.cpp Tue Apr 12 18:11:36 2016 -0400
@@ -38,7 +38,7 @@
#include "../../core/winrt/SDL_winrtapp_xaml.h"
#include "SDL_assert.h"
#include "SDL_system.h"
-#include "../thread/SDL_systhread.h"
+#include "../../thread/SDL_systhread.h"
extern "C" {
#include "../SDL_sysvideo.h"