preproc: PATH_MAX is defined in sys/syslimits.h on FreeBSD
authorThomas Debesse <dev@illwieckz.net>
Wed, 30 Aug 2017 22:58:12 +0000 (22:58 +0000)
committerThomas Debesse <dev@illwieckz.net>
Sun, 2 Jun 2019 01:18:20 +0000 (03:18 +0200)
tools/quake3/common/vfs.h

index 6920fd1..227a2f2 100644 (file)
 #define PATH_MAX 260
 #endif // PATH_MAX
 
+// PATH_MAX
+#if defined( __FreeBSD__ )
+#include <sys/syslimits.h>
+#endif
+
 #define VFS_MAXDIRS 64
 
 void vfsInitDirectory( const char *path );