Merge pull request #2246 from ffontaine/dev

programs/util.c: fix build without st_mtime
This commit is contained in:
Felix Handte
2020-07-16 12:40:43 -04:00
committed by GitHub
+1 -1
View File
@@ -28,7 +28,7 @@ extern "C" {
# include <io.h> /* _chmod */
#else
# include <unistd.h> /* chown, stat */
# if PLATFORM_POSIX_VERSION < 200809L
# if PLATFORM_POSIX_VERSION < 200809L || !defined(st_mtime)
# include <utime.h> /* utime */
# else
# include <fcntl.h> /* AT_FDCWD */