From 51ae44765c35adf5dbe73af7f3b8c6e2d030b3d0 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Tue, 9 Nov 2021 12:14:02 -0800 Subject: [PATCH] fix windows build Signed-off-by: Andrea Luzzardi --- solver/socketprovider_windows.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/solver/socketprovider_windows.go b/solver/socketprovider_windows.go index d5094fbb..b8439e69 100644 --- a/solver/socketprovider_windows.go +++ b/solver/socketprovider_windows.go @@ -3,6 +3,15 @@ package solver +import ( + "fmt" + "net" + "strings" + "time" + + "github.com/Microsoft/go-winio" +) + func dialStream(id string) (net.Conn, error) { if !strings.HasPrefix(id, unixPrefix) { return nil, fmt.Errorf("invalid socket forward key %s", id)