From: Pádraig Brady Date: Wed, 6 Mar 2019 18:46:25 +0000 (-0800) Subject: build: avoid statx related build failure on AIX X-Git-Tag: v8.31~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bb49f04a1e9212c4b773d38f2889ffa853bc66c;p=thirdparty%2Fcoreutils.git build: avoid statx related build failure on AIX * src/stat.c (get_birthtime): Check also for STATX_BTIME define, as a different statx is available on AIX 7.2. --- diff --git a/src/stat.c b/src/stat.c index 6e2f4a3acc..bb1ef1a3d9 100644 --- a/src/stat.c +++ b/src/stat.c @@ -1009,7 +1009,7 @@ get_birthtime (int fd, char const *filename, struct stat const *st) } #endif -#if HAVE_STATX +#if HAVE_STATX && defined STATX_BTIME if (ts.tv_nsec < 0) { struct statx stx;