]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
meson: Add missing prlimit include
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 7 Jun 2022 20:21:54 +0000 (16:21 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 7 Jun 2022 21:18:13 +0000 (17:18 -0400)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/include/meson.build

index a4a0e2ebfbb0dc9915388c2d60c4c8000e41cb47..88fe54ad87404d9704ac38db71bcad91b1021483 100644 (file)
@@ -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