Merge pull request #3285 from CameronNemo/musl

Fix cgo includes for musl
This commit is contained in:
OpenShift Merge Robot authored and GitHub committed 2019-06-09 08:18:56 +02:00
commit fcb7c14c5b
1 file changed
+1
+1
View File
@@ -24,6 +24,7 @@ import (
/*
#cgo remoteclient CFLAGS: -DDISABLE_JOIN_SHORTCUT
#include <stdlib.h>
#include <sys/types.h>
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);