1 --- e2fsprogs-1.43.2.orig/util/subst.c 2016-06-07 07:01:19.000000000 +0200
2 +++ e2fsprogs-1.43.2/util/subst.c 2016-09-19 13:21:04.000000000 +0200
4 #ifdef HAVE_SYS_TYPES_H
7 -#ifdef HAVE_SYS_STAT_H
13 @@ -389,7 +387,7 @@ int main(int argc, char **argv)
15 /* save the original atime, if possible */
16 if (fstat(fd, &stbuf) == 0) {
17 -#if HAVE_STRUCT_STAT_ST_ATIM
18 +#if defined(HAVE_STRUCT_STAT_ST_ATIM) && !defined(__APPLE__)
19 tv[0].tv_sec = stbuf.st_atim.tv_sec;
20 tv[0].tv_usec = stbuf.st_atim.tv_nsec / 1000;