void-packages/srcpkgs/podman/patches/musl.patch
Cameron Nemo fa2e861a6f podman: update to 1.4.0.
Closes: #12278 [via git-merge-pr]
2019-06-10 09:11:12 +02:00

12 lines
466 B
Diff

diff --git pkg/rootless/rootless_linux.go pkg/rootless/rootless_linux.go
index 0cac50fc..3f78ffc6 100644
--- pkg/rootless/rootless_linux.go
+++ 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);