diff --git a/src/lxc/utils.h b/src/lxc/utils.h index dd81c6264..a07339f73 100644 --- a/src/lxc/utils.h +++ b/src/lxc/utils.h @@ -56,6 +56,8 @@ static inline int setns(int fd, int nstype) { #ifdef __NR_setns return syscall(__NR_setns, fd, nstype); +#elif __NR_set_ns + return syscall(__NR_set_ns, fd, nstype); #else errno = ENOSYS; return -1;