diff --git a/frontend/platform/platform_wii.c b/frontend/platform/platform_wii.c index 45c5dc697a..8ceef19233 100644 --- a/frontend/platform/platform_wii.c +++ b/frontend/platform/platform_wii.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include @@ -29,6 +30,10 @@ #define BOOTER_ADDR ((uint8_t *) 0x93000000) #define ARGS_ADDR ((uint8_t *) 0x93200000) +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + extern uint8_t _binary_wii_app_booter_app_booter_bin_start[]; extern uint8_t _binary_wii_app_booter_app_booter_bin_end[]; #define booter_start _binary_wii_app_booter_app_booter_bin_start