Skip to content

Commit c297779

Browse files
committed
Update HTTPHandler.swift
1 parent 747e3b8 commit c297779

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Sources/AsyncHTTPClient/HTTPHandler.swift

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
//===----------------------------------------------------------------------===//
1414

1515
import Algorithms
16+
#if compiler(>=6.0)
1617
import Foundation
17-
#if compiler(<6.0)
18-
@preconcurrency import struct Foundation.URL
18+
#else
19+
@preconcurrency import Foundation
1920
#endif
2021
import Logging
2122
import NIOConcurrencyHelpers

0 commit comments

Comments
 (0)