diff --git a/src/fs.c b/src/fs.c index 76abb0c..1e69d53 100644 --- a/src/fs.c +++ b/src/fs.c @@ -178,7 +178,7 @@ char* fs_search_directory(const char *dir_path, const char *dirname) return NULL; } -#if defined(__linux__) +#if defined(__linux__) && defined(STATX_BTIME) // Function to return creation time of file double fs_get_creation_time(const char *path)