From bb4ffba7247248f15e3d8b897d423f916731467d Mon Sep 17 00:00:00 2001 From: Adriano Sela Aviles Date: Sun, 28 May 2023 11:24:32 -0700 Subject: [PATCH] fs: Statfs_t{} doesn't have a Type field on Windows --- fs_statfs_notype.go | 4 ++-- fs_statfs_type.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs_statfs_notype.go b/fs_statfs_notype.go index 446a85db..80057696 100644 --- a/fs_statfs_notype.go +++ b/fs_statfs_notype.go @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build netbsd || openbsd || solaris -// +build netbsd openbsd solaris +//go:build netbsd || openbsd || solaris || windows +// +build netbsd openbsd solaris windows package procfs diff --git a/fs_statfs_type.go b/fs_statfs_type.go index 6f5af28f..6233217a 100644 --- a/fs_statfs_type.go +++ b/fs_statfs_type.go @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build !netbsd && !openbsd && !solaris -// +build !netbsd,!openbsd,!solaris +//go:build !netbsd && !openbsd && !solaris && !windows +// +build !netbsd,!openbsd,!solaris,!windows package procfs