From 7eac83c1b107db0f3053337aaa41b11cb1dd018b Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Graber?= Date: Tue, 7 Jun 2022 17:16:08 -0400 Subject: [PATCH] meson: Fix mntent include condition MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- src/include/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/meson.build b/src/include/meson.build index 88fe54ad8..eb7238a4c 100644 --- a/src/include/meson.build +++ b/src/include/meson.build @@ -27,7 +27,7 @@ if srcconf.get('HAVE_GETGRGID_R') == 0 'getgrgid_r.h') endif -if srcconf.get('HAVE_HASMNTOPT') == 0 or srcconf.get('HAVE_SETMNTENT') == 0 or srcconf.get('HAVE_ENDMNTENT') == 0 +if srcconf.get('IS_BIONIC') == 1 or srcconf.get('HAVE_HASMNTOPT') == 0 or srcconf.get('HAVE_SETMNTENT') == 0 or srcconf.get('HAVE_ENDMNTENT') == 0 include_sources += files( 'lxcmntent.c', 'lxcmntent.h') -- 2.47.2