From 073d0294151e4854aede63a55c24cf9caf00920a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Thu, 3 Aug 2023 12:22:29 +0200 Subject: [PATCH] meson: add check for struct statx MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit meson variant of commit 1fc3471dfb8b ("libmount: check for struct statx"). Signed-off-by: Thomas Weißschuh --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index 565e4fdab4..4da9c4f9cb 100644 --- a/meson.build +++ b/meson.build @@ -81,6 +81,9 @@ have_mountfd_api = cc.sizeof('struct mount_attr', prefix : '#include ') > 0 +conf.set('HAVE_STRUCT_STATX', have_struct_statx ? 1 : false) + build_libmount = not get_option('build-libmount').disabled() conf.set('HAVE_LIBMOUNT', build_libmount ? 1 : false) conf.set('USE_LIBMOUNT_SUPPORT_NAMESPACES', 1) -- 2.47.2