diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 8b289ecf..fc6b929f 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -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) diff --git a/core/src/utils/proto/http.h b/core/src/utils/proto/http.h index 44986f0e..77901ec7 100644 --- a/core/src/utils/proto/http.h +++ b/core/src/utils/proto/http.h @@ -256,6 +256,7 @@ namespace net::http { class Client { public: + Client() {} Client(std::shared_ptr sock); int sendRequestHeader(RequestHeader& req);