From 8d2c7c269d7c6a5b5f8749a68e5101f2f94652f9 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Sat, 8 Jun 2019 14:14:13 -0700 Subject: Fix cgo includes for musl closes #3284 Signed-off-by: Cameron Nemo --- pkg/rootless/rootless_linux.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/rootless/rootless_linux.go') diff --git a/pkg/rootless/rootless_linux.go b/pkg/rootless/rootless_linux.go index 0cac50fc0..3f78ffc67 100644 --- a/pkg/rootless/rootless_linux.go +++ b/pkg/rootless/rootless_linux.go @@ -24,6 +24,7 @@ import ( /* #cgo remoteclient CFLAGS: -DDISABLE_JOIN_SHORTCUT #include +#include extern uid_t rootless_uid(); extern uid_t rootless_gid(); extern int reexec_in_user_namespace(int ready, char *pause_pid_file_path, char *file_to_read, int fd); -- cgit v1.2.3-54-g00ecf