diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-06-09 08:18:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-09 08:18:56 +0200 |
commit | fcb7c14c5bb94583db2343faaa1b85f0f2f96092 (patch) | |
tree | a8d8bb8e9976a1640d5ff71737e5c165719fa7dd | |
parent | 39f5ea4c040d60f5f16b85ab144ddacf4cbba4c8 (diff) | |
parent | 8d2c7c269d7c6a5b5f8749a68e5101f2f94652f9 (diff) | |
download | podman-fcb7c14c5bb94583db2343faaa1b85f0f2f96092.tar.gz podman-fcb7c14c5bb94583db2343faaa1b85f0f2f96092.tar.bz2 podman-fcb7c14c5bb94583db2343faaa1b85f0f2f96092.zip |
Merge pull request #3285 from CameronNemo/musl
Fix cgo includes for musl
-rw-r--r-- | pkg/rootless/rootless_linux.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 <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); |