소스 검색

fix some warnings from psp builds (missing includes.)

Ozkan Sezer 3 년 전
부모
커밋
00014dc2ac
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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>