diff --git a/framework/FileSystem.h b/framework/FileSystem.h index d718888..cae616c 100644 --- a/framework/FileSystem.h +++ b/framework/FileSystem.h @@ -29,6 +29,8 @@ If you have questions concerning this license or the applicable additional terms #ifndef __FILESYSTEM_H__ #define __FILESYSTEM_H__ +#include + #include "idlib/containers/StrList.h" #include "framework/File.h" @@ -55,9 +57,9 @@ If you have questions concerning this license or the applicable additional terms =============================================================================== */ -static const ID_TIME_T FILE_NOT_FOUND_TIMESTAMP = 0xFFFFFFFF; +static const ID_TIME_T FILE_NOT_FOUND_TIMESTAMP = 0xFFFFFFFF; static const int MAX_PURE_PAKS = 128; -static const int MAX_OSPATH = 256; +static const int MAX_OSPATH = PATH_MAX; // modes for OpenFileByMode. used as bit mask internally typedef enum {