From cb5ff6b57f4844c358241b50d609fa4316792ff0 Mon Sep 17 00:00:00 2001 From: Adriano Sela Aviles Date: Sun, 28 May 2023 14:19:06 -0700 Subject: [PATCH] fs: Statfs_t{} doesn't have a Type field on Windows (#528) Signed-off-by: Adriano Sela Aviles --- 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