From 31ff7f3224a8afa828fabd2192e8c15696982714 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Thu, 26 Jan 2023 03:05:32 +0100 Subject: [PATCH] fixed build --- core/CMakeLists.txt | 2 +- core/src/utils/proto/http.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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);