From 1d31d0d7f4a684e462a0f84ab13f6e72bda956b0 Mon Sep 17 00:00:00 2001 From: gco Date: Mon, 30 Jan 2023 23:44:35 -0800 Subject: setgroups type mismatches on Solaris #1986 --- src/unistd.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/unistd.rs b/src/unistd.rs index fc3c405d..a10c17b5 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -1652,8 +1652,8 @@ pub fn setgroups(groups: &[Gid]) -> Result<()> { target_os = "ios", target_os = "macos", target_os = "netbsd", - target_os = "illumos", - target_os = "openbsd"))] { + target_os = "openbsd", + target_os = "solaris"))] { type setgroups_ngroups_t = c_int; } else { type setgroups_ngroups_t = size_t; -- cgit v1.2.3