浏览代码

Added missing include statements in implementation for PSP.

SDL_internal.h should be included to support dynamic API and fix warnings.
Philipp Wiesemann 10 年之前
父节点
当前提交
d036ad84ae

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

@@ -18,6 +18,7 @@
      misrepresented as being the original software.
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
   3. This notice may not be removed or altered from any source distribution.
 */
 */
+#include "../../SDL_internal.h"
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>

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

@@ -18,6 +18,7 @@
      misrepresented as being the original software.
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
   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 */
 /* This is the PSP implementation of the SDL joystick API */
 #include <pspctrl.h>
 #include <pspctrl.h>

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

@@ -18,6 +18,7 @@
      misrepresented as being the original software.
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
   3. This notice may not be removed or altered from any source distribution.
 */
 */
+#include "../../SDL_internal.h"
 
 
 /* Semaphore functions for the PSP. */
 /* Semaphore functions for the PSP. */
 
 

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

@@ -18,7 +18,7 @@
      misrepresented as being the original software.
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
   3. This notice may not be removed or altered from any source distribution.
 */
 */
-
+#include "../../SDL_internal.h"
 
 
 /* PSP thread management routines for SDL */
 /* PSP thread management routines for SDL */
 
 

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

@@ -18,6 +18,7 @@
      misrepresented as being the original software.
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
   3. This notice may not be removed or altered from any source distribution.
 */
 */
+#include "../../SDL_internal.h"
 
 
 #include "SDL_thread.h"
 #include "SDL_thread.h"
 #include "SDL_timer.h"
 #include "SDL_timer.h"

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

@@ -18,6 +18,7 @@
      misrepresented as being the original software.
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
   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
 /* Being a null driver, there's no event stream. We just define stubs for
    most of the API. */
    most of the API. */

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

@@ -18,6 +18,7 @@
      misrepresented as being the original software.
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
   3. This notice may not be removed or altered from any source distribution.
 */
 */
+#include "../../SDL_internal.h"
 
 
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>

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

@@ -18,6 +18,7 @@
      misrepresented as being the original software.
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
   3. This notice may not be removed or altered from any source distribution.
 */
 */
+#include "../../SDL_internal.h"
 
 
 
 
 #include <stdio.h>
 #include <stdio.h>