From: Thomas Debesse Date: Wed, 30 Aug 2017 22:58:12 +0000 (+0000) Subject: preproc: PATH_MAX is defined in sys/syslimits.h on FreeBSD X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=23f92b15b02484846d9ab12b85b6e95503a2feb6;p=xonotic%2Fnetradiant.git preproc: PATH_MAX is defined in sys/syslimits.h on FreeBSD --- 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 );