Added missing include statements in implementation for PSP.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 31 Jan 2015 22:43:05 +0100
changeset 9328 b21d3417260a
parent 9327 3644013ad914
child 9329 64bb8e49c6a6
Added missing include statements in implementation for PSP. SDL_internal.h should be included to support dynamic API and fix warnings.
src/audio/psp/SDL_pspaudio.c
src/joystick/psp/SDL_sysjoystick.c
src/thread/psp/SDL_syssem.c
src/thread/psp/SDL_systhread.c
src/timer/psp/SDL_systimer.c
src/video/psp/SDL_pspevents.c
src/video/psp/SDL_pspgl.c
src/video/psp/SDL_pspmouse.c
--- a/src/audio/psp/SDL_pspaudio.c	Sat Jan 31 21:06:37 2015 +0100
+++ b/src/audio/psp/SDL_pspaudio.c	Sat Jan 31 22:43:05 2015 +0100
@@ -18,6 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
+#include "../../SDL_internal.h"
 
 #include <stdio.h>
 #include <string.h>
--- a/src/joystick/psp/SDL_sysjoystick.c	Sat Jan 31 21:06:37 2015 +0100
+++ b/src/joystick/psp/SDL_sysjoystick.c	Sat Jan 31 22:43:05 2015 +0100
@@ -18,6 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
+#include "../../SDL_internal.h"
 
 /* This is the PSP implementation of the SDL joystick API */
 #include <pspctrl.h>
--- a/src/thread/psp/SDL_syssem.c	Sat Jan 31 21:06:37 2015 +0100
+++ b/src/thread/psp/SDL_syssem.c	Sat Jan 31 22:43:05 2015 +0100
@@ -18,6 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
+#include "../../SDL_internal.h"
 
 /* Semaphore functions for the PSP. */
 
--- a/src/thread/psp/SDL_systhread.c	Sat Jan 31 21:06:37 2015 +0100
+++ b/src/thread/psp/SDL_systhread.c	Sat Jan 31 22:43:05 2015 +0100
@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-
+#include "../../SDL_internal.h"
 
 /* PSP thread management routines for SDL */
 
--- a/src/timer/psp/SDL_systimer.c	Sat Jan 31 21:06:37 2015 +0100
+++ b/src/timer/psp/SDL_systimer.c	Sat Jan 31 22:43:05 2015 +0100
@@ -18,6 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
+#include "../../SDL_internal.h"
 
 #include "SDL_thread.h"
 #include "SDL_timer.h"
--- a/src/video/psp/SDL_pspevents.c	Sat Jan 31 21:06:37 2015 +0100
+++ b/src/video/psp/SDL_pspevents.c	Sat Jan 31 22:43:05 2015 +0100
@@ -18,6 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
+#include "../../SDL_internal.h"
 
 /* Being a null driver, there's no event stream. We just define stubs for
    most of the API. */
--- a/src/video/psp/SDL_pspgl.c	Sat Jan 31 21:06:37 2015 +0100
+++ b/src/video/psp/SDL_pspgl.c	Sat Jan 31 22:43:05 2015 +0100
@@ -18,6 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
+#include "../../SDL_internal.h"
 
 #include <stdlib.h>
 #include <string.h>
--- a/src/video/psp/SDL_pspmouse.c	Sat Jan 31 21:06:37 2015 +0100
+++ b/src/video/psp/SDL_pspmouse.c	Sat Jan 31 22:43:05 2015 +0100
@@ -18,6 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
+#include "../../SDL_internal.h"
 
 
 #include <stdio.h>