From 4bb49f04a1e9212c4b773d38f2889ffa853bc66c Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Wed, 6 Mar 2019 10:46:25 -0800 Subject: [PATCH] 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. --- src/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2