浏览代码

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 <stdio.h>
 #include <string.h>
 #include <string.h>
 #include <stdlib.h>
 #include <stdlib.h>
+#include <malloc.h> /* memalign() */
 
 
 #include "SDL_audio.h"
 #include "SDL_audio.h"
 #include "SDL_error.h"
 #include "SDL_error.h"

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

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