diff --git a/src/driver/file.h b/src/driver/file.h index b65f41fe8..46be83b89 100644 --- a/src/driver/file.h +++ b/src/driver/file.h @@ -41,7 +41,7 @@ #endif /* __USE_FILE__OFFSET64 */ #include - +#include #include #include @@ -74,6 +74,7 @@ public: FileType getType(void) const; std::string getFileName(void) const; std::string getPath(void) const; + bool isDir(void) { return S_ISDIR(Mode); }; CFile(); off_t Size;