--- logrotate.c.orig 2019-02-10 05:18:49.000000000 -0600 +++ logrotate.c 2019-02-10 05:19:17.000000000 -0600 @@ -688,7 +688,7 @@ /* If we can't change atime/mtime, it's not a disaster. It might possibly fail under SELinux. But do try to preserve the fractional part if we have utimensat(). */ -#ifdef HAVE_UTIMENSAT +#if defined HAVE_UTIMENSAT && !defined(__APPLE__) struct timespec ts[2]; ts[0] = sb->st_atim;