diff --git a/src/base/system.c b/src/base/system.c index a17d479e6..57eef9938 100644 --- a/src/base/system.c +++ b/src/base/system.c @@ -1694,11 +1694,15 @@ int fs_is_dir(const char *path) time_t fs_getmtime(const char *path) { +#if defined(CONF_FAMILY_WINDOWS) + /* TODO */ +#else struct stat sb; if (stat(path, &sb) == -1) return 0; return sb.st_mtime; +#endif } int fs_chdir(const char *path) diff --git a/src/base/system.h b/src/base/system.h index 47500cbb8..c112dd0fd 100644 --- a/src/base/system.h +++ b/src/base/system.h @@ -10,6 +10,7 @@ #include "detect.h" #include "stddef.h" +#include #ifdef __cplusplus extern "C" {