Browse Source

fix some warnings from psp builds (missing includes.)

Ozkan Sezer 3 years ago
parent
commit
00014dc2ac
2 changed files with 2 additions and 0 deletions
  1. 1 0
      src/audio/psp/SDL_pspaudio.c
  2. 1 0
      src/video/psp/SDL_pspevents.c

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

@@ -25,6 +25,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
+#include <malloc.h> /* memalign() */
 
 #include "SDL_audio.h"
 #include "SDL_error.h"

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

@@ -34,6 +34,7 @@
 #include "SDL_keyboard.h"
 #include "../../thread/SDL_systhread.h"
 #include <psphprm.h>
+#include <pspthreadman.h>
 
 #ifdef PSPIRKEYB
 #include <pspirkeyb.h>