Added missing include statements in implementation for PSP.
authorPhilipp Wiesemann
Sat, 31 Jan 2015 22:43:05 +0100
changeset 9328b21d3417260a
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
     1.1 --- a/src/audio/psp/SDL_pspaudio.c	Sat Jan 31 21:06:37 2015 +0100
     1.2 +++ b/src/audio/psp/SDL_pspaudio.c	Sat Jan 31 22:43:05 2015 +0100
     1.3 @@ -18,6 +18,7 @@
     1.4       misrepresented as being the original software.
     1.5    3. This notice may not be removed or altered from any source distribution.
     1.6  */
     1.7 +#include "../../SDL_internal.h"
     1.8  
     1.9  #include <stdio.h>
    1.10  #include <string.h>
     2.1 --- a/src/joystick/psp/SDL_sysjoystick.c	Sat Jan 31 21:06:37 2015 +0100
     2.2 +++ b/src/joystick/psp/SDL_sysjoystick.c	Sat Jan 31 22:43:05 2015 +0100
     2.3 @@ -18,6 +18,7 @@
     2.4       misrepresented as being the original software.
     2.5    3. This notice may not be removed or altered from any source distribution.
     2.6  */
     2.7 +#include "../../SDL_internal.h"
     2.8  
     2.9  /* This is the PSP implementation of the SDL joystick API */
    2.10  #include <pspctrl.h>
     3.1 --- a/src/thread/psp/SDL_syssem.c	Sat Jan 31 21:06:37 2015 +0100
     3.2 +++ b/src/thread/psp/SDL_syssem.c	Sat Jan 31 22:43:05 2015 +0100
     3.3 @@ -18,6 +18,7 @@
     3.4       misrepresented as being the original software.
     3.5    3. This notice may not be removed or altered from any source distribution.
     3.6  */
     3.7 +#include "../../SDL_internal.h"
     3.8  
     3.9  /* Semaphore functions for the PSP. */
    3.10  
     4.1 --- a/src/thread/psp/SDL_systhread.c	Sat Jan 31 21:06:37 2015 +0100
     4.2 +++ b/src/thread/psp/SDL_systhread.c	Sat Jan 31 22:43:05 2015 +0100
     4.3 @@ -18,7 +18,7 @@
     4.4       misrepresented as being the original software.
     4.5    3. This notice may not be removed or altered from any source distribution.
     4.6  */
     4.7 -
     4.8 +#include "../../SDL_internal.h"
     4.9  
    4.10  /* PSP thread management routines for SDL */
    4.11  
     5.1 --- a/src/timer/psp/SDL_systimer.c	Sat Jan 31 21:06:37 2015 +0100
     5.2 +++ b/src/timer/psp/SDL_systimer.c	Sat Jan 31 22:43:05 2015 +0100
     5.3 @@ -18,6 +18,7 @@
     5.4       misrepresented as being the original software.
     5.5    3. This notice may not be removed or altered from any source distribution.
     5.6  */
     5.7 +#include "../../SDL_internal.h"
     5.8  
     5.9  #include "SDL_thread.h"
    5.10  #include "SDL_timer.h"
     6.1 --- a/src/video/psp/SDL_pspevents.c	Sat Jan 31 21:06:37 2015 +0100
     6.2 +++ b/src/video/psp/SDL_pspevents.c	Sat Jan 31 22:43:05 2015 +0100
     6.3 @@ -18,6 +18,7 @@
     6.4       misrepresented as being the original software.
     6.5    3. This notice may not be removed or altered from any source distribution.
     6.6  */
     6.7 +#include "../../SDL_internal.h"
     6.8  
     6.9  /* Being a null driver, there's no event stream. We just define stubs for
    6.10     most of the API. */
     7.1 --- a/src/video/psp/SDL_pspgl.c	Sat Jan 31 21:06:37 2015 +0100
     7.2 +++ b/src/video/psp/SDL_pspgl.c	Sat Jan 31 22:43:05 2015 +0100
     7.3 @@ -18,6 +18,7 @@
     7.4       misrepresented as being the original software.
     7.5    3. This notice may not be removed or altered from any source distribution.
     7.6  */
     7.7 +#include "../../SDL_internal.h"
     7.8  
     7.9  #include <stdlib.h>
    7.10  #include <string.h>
     8.1 --- a/src/video/psp/SDL_pspmouse.c	Sat Jan 31 21:06:37 2015 +0100
     8.2 +++ b/src/video/psp/SDL_pspmouse.c	Sat Jan 31 22:43:05 2015 +0100
     8.3 @@ -18,6 +18,7 @@
     8.4       misrepresented as being the original software.
     8.5    3. This notice may not be removed or altered from any source distribution.
     8.6  */
     8.7 +#include "../../SDL_internal.h"
     8.8  
     8.9  
    8.10  #include <stdio.h>