aboutsummaryrefslogtreecommitdiff
path: root/src/os/user/listgroups_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/user/listgroups_unix.go')
-rw-r--r--src/os/user/listgroups_unix.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os/user/listgroups_unix.go b/src/os/user/listgroups_unix.go
index 70f7af7f97..c7b72062d5 100644
--- a/src/os/user/listgroups_unix.go
+++ b/src/os/user/listgroups_unix.go
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build (dragonfly || darwin || freebsd || (!android && linux) || netbsd || openbsd) && cgo && !osusergo
// +build dragonfly darwin freebsd !android,linux netbsd openbsd
-// +build cgo,!osusergo
+// +build cgo
+// +build !osusergo
package user