Skip to content

Commit 04a27be

Browse files
kolyshkinbradfitz
authored andcommitted
os/user: fix build on darwin with "osusergo" build tag
Fixes #24841 Updates #24845 Change-Id: Ia7e2deefe64c12ee8a76ce6ed9f9e003e912b161 Reviewed-on: https://go-review.googlesource.com/107299 Reviewed-by: Brad Fitzpatrick <[email protected]> Run-TryBot: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent ea3f329 commit 04a27be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/os/user/getgrouplist_darwin.go

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
// +build cgo,!osusergo
6+
57
package user
68

79
/*

0 commit comments

Comments
 (0)