aboutsummaryrefslogtreecommitdiff
path: root/src/os/user/listgroups_solaris.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/user/listgroups_solaris.go')
-rw-r--r--src/os/user/listgroups_solaris.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/user/listgroups_solaris.go b/src/os/user/listgroups_solaris.go
index f3cbf6ce4a..d993d30570 100644
--- a/src/os/user/listgroups_solaris.go
+++ b/src/os/user/listgroups_solaris.go
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build cgo && !osusergo
// +build cgo,!osusergo
// Even though this file requires no C, it is used to provide a