From 23f92b15b02484846d9ab12b85b6e95503a2feb6 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Wed, 30 Aug 2017 22:58:12 +0000 Subject: [PATCH] preproc: PATH_MAX is defined in sys/syslimits.h on FreeBSD --- tools/quake3/common/vfs.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/quake3/common/vfs.h b/tools/quake3/common/vfs.h index 6920fd1c..227a2f29 100644 --- a/tools/quake3/common/vfs.h +++ b/tools/quake3/common/vfs.h @@ -49,6 +49,11 @@ #define PATH_MAX 260 #endif // PATH_MAX +// PATH_MAX +#if defined( __FreeBSD__ ) +#include +#endif + #define VFS_MAXDIRS 64 void vfsInitDirectory( const char *path ); -- 2.39.2