Browse Source

support Swift 5.1 on Linux (#610)

Johannes Weiss 6 years ago
parent
commit
e3d8af46a2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Tests/SwiftGRPCNIOTests/NIOServerWebTests.swift

+ 3 - 0
Tests/SwiftGRPCNIOTests/NIOServerWebTests.swift

@@ -14,6 +14,9 @@
  * limitations under the License.
  */
 import Foundation
+#if canImport(FoundationNetworking)
+import FoundationNetworking
+#endif
 import NIO
 @testable import SwiftGRPCNIO
 import XCTest