diff --git a/3rdparty/luafilesystem/src/lfs.c b/3rdparty/luafilesystem/src/lfs.c index ac483fa067b..ca89223e8f2 100644 --- a/3rdparty/luafilesystem/src/lfs.c +++ b/3rdparty/luafilesystem/src/lfs.c @@ -60,6 +60,12 @@ #include #endif +#ifdef __GNU__ +#ifndef MAXPATHLEN +#define MAXPATHLEN 1024 +#endif +#endif + #include #include #include