From: Stéphane Graber Date: Tue, 7 Jun 2022 20:21:54 +0000 (-0400) Subject: meson: Add missing prlimit include X-Git-Tag: lxc-5.0.0~9^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=199241209f353a78b8e4dca64f6ecc9c7e5f2828;p=thirdparty%2Flxc.git meson: Add missing prlimit include Signed-off-by: Stéphane Graber --- diff --git a/src/include/meson.build b/src/include/meson.build index a4a0e2ebf..88fe54ad8 100644 --- a/src/include/meson.build +++ b/src/include/meson.build @@ -56,3 +56,9 @@ if srcconf.get('HAVE_OPENPTY') == 0 'openpty.c', 'openpty.h') endif + +if srcconf.get('HAVE_PRLIMIT') == 0 and srcconf.get('HAVE_PRLIMIT64') == 1 + include_sources += files( + 'prlimit.c', + 'prlimit.h') +endif