Message ID | 1429691227-12310-2-git-send-email-nicolas.dichtel@6wind.com |
---|---|
State | Accepted, archived |
Delegated to: | stephen hemminger |
Headers | show |
diff --git a/include/namespace.h b/include/namespace.h index a2ac7dccd0e1..5add9d266b7d 100644 --- a/include/namespace.h +++ b/include/namespace.h @@ -3,6 +3,7 @@ #include <sched.h> #include <sys/mount.h> +#include <unistd.h> #include <sys/syscall.h> #include <errno.h>
The warning was: In file included from namespace.c:14:0: ../include/namespace.h: In function ‘setns’: ../include/namespace.h:37:2: warning: implicit declaration of function ‘syscall’ [-Wimplicit-function-declaration] Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> --- include/namespace.h | 1 + 1 file changed, 1 insertion(+)