>From 3f6a99fcbffdd4051ada512fc21d75270f26b6dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?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 6e2f4a3..bb1ef1a 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.9.3