diff --git a/changelog/unreleased/fix-windows-build.md b/changelog/unreleased/fix-windows-build.md new file mode 100644 index 0000000000..ed88dc8f1b --- /dev/null +++ b/changelog/unreleased/fix-windows-build.md @@ -0,0 +1,5 @@ +Bugfix: Fix windows build + +Add the necessary `golang.org/x/sys/windows` package import to `owncloud` and `owncloudsql` storage drivers. + +https://github.com/cs3org/reva/pull/1987 \ No newline at end of file diff --git a/pkg/storage/fs/owncloud/owncloud_windows.go b/pkg/storage/fs/owncloud/owncloud_windows.go index b925d6a3ee..5002351480 100644 --- a/pkg/storage/fs/owncloud/owncloud_windows.go +++ b/pkg/storage/fs/owncloud/owncloud_windows.go @@ -29,6 +29,7 @@ import ( "strings" "github.com/cs3org/reva/pkg/appctx" + "golang.org/x/sys/windows" ) // calcEtag will create an etag based on the md5 of diff --git a/pkg/storage/fs/owncloudsql/owncloudsql_windows.go b/pkg/storage/fs/owncloudsql/owncloudsql_windows.go index dc4dd873d5..7d2d07b46f 100644 --- a/pkg/storage/fs/owncloudsql/owncloudsql_windows.go +++ b/pkg/storage/fs/owncloudsql/owncloudsql_windows.go @@ -29,6 +29,7 @@ import ( "strings" "github.com/cs3org/reva/pkg/appctx" + "golang.org/x/sys/windows" ) // calcEtag will create an etag based on the md5 of