[lxc-devel] [lxc/master] lxc-unshare: add syscall_wrappers.h to build requirements

brauner on Github lxc-bot at linuxcontainers.org
Wed Mar 18 15:08:40 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200318/32fece54/attachment.bin>
-------------- next part --------------
From 9b57809d530c57c69c97d8ed10c8be2d82a5b868 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Wed, 18 Mar 2020 16:07:15 +0100
Subject: [PATCH] lxc-unshare: add syscall_wrappers.h to build requirements

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 src/lxc/Makefile.am         | 1 +
 src/lxc/tools/lxc_unshare.c | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
index 1c2f92a67d..b80c503807 100644
--- a/src/lxc/Makefile.am
+++ b/src/lxc/Makefile.am
@@ -363,6 +363,7 @@ lxc_unfreeze_SOURCES = tools/lxc_unfreeze.c \
 		       tools/arguments.c tools/arguments.h
 lxc_unshare_SOURCES = tools/lxc_unshare.c \
 		      syscall_numbers.h \
+		      syscall_wrapper.h \
 		      tools/arguments.c tools/arguments.h
 lxc_wait_SOURCES = tools/lxc_wait.c \
 		   tools/arguments.c tools/arguments.h
diff --git a/src/lxc/tools/lxc_unshare.c b/src/lxc/tools/lxc_unshare.c
index 2cca827acb..b4b073a02f 100644
--- a/src/lxc/tools/lxc_unshare.c
+++ b/src/lxc/tools/lxc_unshare.c
@@ -26,6 +26,8 @@
 #include "list.h"
 #include "log.h"
 #include "namespace.h"
+#include "syscall_numbers.h"
+#include "syscall_wrappers.h"
 #include "utils.h"
 
 lxc_log_define(lxc_unshare, lxc);


More information about the lxc-devel mailing list