Commit b765eda9 authored by Nicolas Dichtel's avatar Nicolas Dichtel Committed by Stephen Hemminger

libnamespaces: fix warning about syscall()

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: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
parent afa5158f
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <sched.h> #include <sched.h>
#include <sys/mount.h> #include <sys/mount.h>
#include <unistd.h>
#include <sys/syscall.h> #include <sys/syscall.h>
#include <errno.h> #include <errno.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment