Fix build on older GNU/Linux systems without statx

This commit is contained in:
Martin Lund 2024-05-05 21:02:28 +02:00
parent c2ef2fced5
commit b490233988

View file

@ -178,7 +178,7 @@ char* fs_search_directory(const char *dir_path, const char *dirname)
return NULL; return NULL;
} }
#if defined(__linux__) #if defined(__linux__) && defined(STATX_BTIME)
// Function to return creation time of file // Function to return creation time of file
double fs_get_creation_time(const char *path) double fs_get_creation_time(const char *path)