From b393d39603835692caa431b28b329bcdfba1245f Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 14 Jun 2022 04:37:27 -0700 Subject: [PATCH] NIOPosix: add missing import for Windows (#2188) Add an import of `NIOCore` on Windows which mirrors the other platforms. This greatly reduces the noise in the error list. Co-authored-by: Cory Benfield --- Sources/NIOPosix/BSDSocketAPIWindows.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/NIOPosix/BSDSocketAPIWindows.swift b/Sources/NIOPosix/BSDSocketAPIWindows.swift index 0f38b4d05..438ab0314 100644 --- a/Sources/NIOPosix/BSDSocketAPIWindows.swift +++ b/Sources/NIOPosix/BSDSocketAPIWindows.swift @@ -12,6 +12,8 @@ // //===----------------------------------------------------------------------===// +import NIOCore + #if os(Windows) import ucrt