mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
libc/int/userns: add build tag to C file
This fixes k3s cross-compilation on Windows, broken by commit1912d5988b("*: actually support joining a userns with a new container"). [@kolyshkin: commit message] Fixes:1912d5988bSigned-off-by: Brad Davidson <brad.davidson@rancher.com> Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commitccb589bd7d) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
committed by
Kir Kolyshkin
parent
de92f4b40d
commit
04468c038d
+2
@@ -1,3 +1,5 @@
|
||||
//go:build linux
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <fcntl.h>
|
||||
#include <sched.h>
|
||||
Reference in New Issue
Block a user