diff --git a/Sources/NIOHTTP2/ConnectionStateMachine/HasLocalSettings.swift b/Sources/NIOHTTP2/ConnectionStateMachine/HasLocalSettings.swift index e5fd855c..71754b47 100644 --- a/Sources/NIOHTTP2/ConnectionStateMachine/HasLocalSettings.swift +++ b/Sources/NIOHTTP2/ConnectionStateMachine/HasLocalSettings.swift @@ -12,6 +12,8 @@ // //===----------------------------------------------------------------------===// +import NIOHPACK + /// A protocol implemented by HTTP/2 connection state machine states with local settings. /// /// This protocol provides implementations that can apply changes to the local settings. diff --git a/Sources/NIOHTTP2/ConnectionStateMachine/HasRemoteSettings.swift b/Sources/NIOHTTP2/ConnectionStateMachine/HasRemoteSettings.swift index 511e8bd8..f356538d 100644 --- a/Sources/NIOHTTP2/ConnectionStateMachine/HasRemoteSettings.swift +++ b/Sources/NIOHTTP2/ConnectionStateMachine/HasRemoteSettings.swift @@ -12,6 +12,8 @@ // //===----------------------------------------------------------------------===// +import NIOHPACK + /// A protocol implemented by HTTP/2 connection state machine states with remote settings. /// /// This protocol provides implementations that can apply changes to the remote settings. diff --git a/Tests/NIOHTTP2Tests/HTTP2ErrorTests.swift b/Tests/NIOHTTP2Tests/HTTP2ErrorTests.swift index f65260aa..2acf2a3e 100644 --- a/Tests/NIOHTTP2Tests/HTTP2ErrorTests.swift +++ b/Tests/NIOHTTP2Tests/HTTP2ErrorTests.swift @@ -13,6 +13,7 @@ //===----------------------------------------------------------------------===// import NIOHTTP2 +import NIOHPACK import XCTest class HTTP2ErrorTests: XCTestCase {