aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/os/user/cgo_unix_test.go2
-rw-r--r--src/os/user/getgrouplist_unix.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/os/user/cgo_unix_test.go b/src/os/user/cgo_unix_test.go
index 674111800f..1d341aa427 100644
--- a/src/os/user/cgo_unix_test.go
+++ b/src/os/user/cgo_unix_test.go
@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd !android,linux netbsd openbsd solaris
-// +build cgo
+// +build cgo,!osusergo
package user
diff --git a/src/os/user/getgrouplist_unix.go b/src/os/user/getgrouplist_unix.go
index 8ad51286c6..9685414fc0 100644
--- a/src/os/user/getgrouplist_unix.go
+++ b/src/os/user/getgrouplist_unix.go
@@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.
// +build dragonfly freebsd !android,linux netbsd openbsd
+// +build cgo,!osusergo
package user