Skip to content

Commit e6c4c9c

Browse files
authored
Merge pull request #4616 from kolyshkin/fix-cross-build
libc/int/userns: add build tag to C file
2 parents dadea50 + ccb589b commit e6c4c9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libcontainer/internal/userns/userns_maps.c renamed to libcontainer/internal/userns/userns_maps_linux.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build linux
2+
13
#define _GNU_SOURCE
24
#include <fcntl.h>
35
#include <sched.h>

0 commit comments

Comments
 (0)