fixed build

This commit is contained in:
AlexandreRouma 2023-01-26 03:05:32 +01:00
parent e59d804b31
commit 31ff7f3224
2 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,7 @@ if (MSVC)
target_link_libraries(sdrpp_core PUBLIC FFTW3::fftw3f)
# WinSock2
target_link_libraries(sdrpp_core PUBLIC wsock32 ws2_32)
target_link_libraries(sdrpp_core PUBLIC wsock32 ws2_32 iphlpapi)
# ZSTD
find_package(zstd CONFIG REQUIRED)

View File

@ -256,6 +256,7 @@ namespace net::http {
class Client {
public:
Client() {}
Client(std::shared_ptr<Socket> sock);
int sendRequestHeader(RequestHeader& req);