fix PSP build

This commit is contained in:
aliaspider 2014-06-22 21:07:16 +01:00
parent bd06369f0b
commit 0ecefedbf6
2 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,7 @@ else ifeq ($(platform), psp1)
FLAGS += -DPSP -G0 FLAGS += -DPSP -G0
FLAGS += -DHAVE_MKDIR FLAGS += -DHAVE_MKDIR
STATIC_LINKING = 1 STATIC_LINKING = 1
EXTRA_INCLUDES := -I$(shell psp-config --pspsdk-path)/include
else ifeq ($(platform), xenon) else ifeq ($(platform), xenon)
TARGET := $(TARGET_NAME)_xenon360.a TARGET := $(TARGET_NAME)_xenon360.a
CC = xenon-gcc$(EXE_EXT) CC = xenon-gcc$(EXE_EXT)

View File

@ -64,6 +64,7 @@ void scond_signal(scond_t *cond);
#include <unistd.h> #include <unistd.h>
#elif defined(PSP) #elif defined(PSP)
#include <pspthreadman.h> #include <pspthreadman.h>
#include <psputils.h>
#elif defined(_WIN32) && !defined(_XBOX) #elif defined(_WIN32) && !defined(_XBOX)
#include <windows.h> #include <windows.h>
#else #else