aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/libretro.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c
index 87dcb2d..4d56356 100644
--- a/frontend/libretro.c
+++ b/frontend/libretro.c
@@ -932,6 +932,10 @@ static struct retro_disk_control_callback disk_control = {
#define SLASH '/'
#endif
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
static char base_dir[PATH_MAX];
static bool read_m3u(const char *file)