--- libgo/go/os/dir_unix.go.orig	2020-03-04 19:30:03.000000000 +1100
+++ libgo/go/os/dir_unix.go	2020-09-08 10:22:37.899094000 +1000
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build aix darwin dragonfly freebsd linux nacl netbsd openbsd solaris
+// +build aix bsdsunix darwin dragonfly freebsd linux nacl netbsd openbsd solaris
 
 package os