PSP2: Update for new toolchain

This commit is contained in:
Vicki Pfau 2017-04-17 01:12:23 -07:00
parent b486223532
commit b65992a1b8
2 changed files with 5 additions and 1 deletions

View File

@ -56,6 +56,11 @@ typedef intptr_t ssize_t;
#include <sys/time.h> #include <sys/time.h>
#endif #endif
#ifdef PSP2
// For PATH_MAX on modern toolchains
#include <sys/syslimits.h>
#endif
#ifndef SSIZE_MAX #ifndef SSIZE_MAX
#define SSIZE_MAX ((ssize_t) (SIZE_MAX >> 1)) #define SSIZE_MAX ((ssize_t) (SIZE_MAX >> 1))
#endif #endif

View File

@ -16,7 +16,6 @@
#include <psp2/display.h> #include <psp2/display.h>
#include <psp2/kernel/processmgr.h> #include <psp2/kernel/processmgr.h>
#include <psp2/kernel/threadmgr.h> #include <psp2/kernel/threadmgr.h>
#include <psp2/moduleinfo.h>
#include <psp2/power.h> #include <psp2/power.h>
#include <psp2/sysmodule.h> #include <psp2/sysmodule.h>
#include <psp2/touch.h> #include <psp2/touch.h>