]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc/rexec: Use HAVE_FEXECVE
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 7 Jun 2022 21:15:54 +0000 (17:15 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 7 Jun 2022 21:26:46 +0000 (17:26 -0400)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/rexec.c

index ee0b453dbf324549bdf1791aeb2f0b1bf0ee7c9a..6a017da9c62cb51575b7ac84e4008c8766e33b36 100644 (file)
@@ -16,7 +16,7 @@
 #include "string_utils.h"
 #include "syscall_wrappers.h"
 
-#if IS_BIONIC
+#if IS_BIONIC && !HAVE_FEXECVE
 #include "fexecve.h"
 #endif