Browse Source

Added missing include statements in implementation for PSP.

SDL_internal.h should be included to support dynamic API and fix warnings.
Philipp Wiesemann 10 years ago
parent
commit
d036ad84ae

+ 1 - 0
src/audio/psp/SDL_pspaudio.c

@@ -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>

+ 1 - 0
src/joystick/psp/SDL_sysjoystick.c

@@ -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>

+ 1 - 0
src/thread/psp/SDL_syssem.c

@@ -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. */
 

+ 1 - 1
src/thread/psp/SDL_systhread.c

@@ -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 */
 

+ 1 - 0
src/timer/psp/SDL_systimer.c

@@ -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"

+ 1 - 0
src/video/psp/SDL_pspevents.c

@@ -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. */

+ 1 - 0
src/video/psp/SDL_pspgl.c

@@ -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>

+ 1 - 0
src/video/psp/SDL_pspmouse.c

@@ -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>