PSP2: Update for new toolchain
Vicki Pfau vi@endrift.com
Mon, 17 Apr 2017 01:12:23 -0700
2 files changed,
5 insertions(+),
1 deletions(-)
M
include/mgba-util/common.h
→
include/mgba-util/common.h
@@ -56,6 +56,11 @@ #include <unistd.h>
#include <sys/time.h> #endif +#ifdef PSP2 +// For PATH_MAX on modern toolchains +#include <sys/syslimits.h> +#endif + #ifndef SSIZE_MAX #define SSIZE_MAX ((ssize_t) (SIZE_MAX >> 1)) #endif
M
src/platform/psp2/main.c
→
src/platform/psp2/main.c
@@ -16,7 +16,6 @@ #include <psp2/ctrl.h>
#include <psp2/display.h> #include <psp2/kernel/processmgr.h> #include <psp2/kernel/threadmgr.h> -#include <psp2/moduleinfo.h> #include <psp2/power.h> #include <psp2/sysmodule.h> #include <psp2/touch.h>