Fix cgo includes for musl

closes #3284

Signed-off-by: Cameron Nemo <cnemo@tutanota.com>
This commit is contained in:
Cameron Nemo
2019-06-08 14:14:13 -07:00
parent 39f5ea4c04
commit 8d2c7c269d

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);