diff options
Diffstat (limited to 'host/commands/fetcher/curl_wrapper.h')
-rw-r--r-- | host/commands/fetcher/curl_wrapper.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/host/commands/fetcher/curl_wrapper.h b/host/commands/fetcher/curl_wrapper.h index 851c02cd4..02cfd4eeb 100644 --- a/host/commands/fetcher/curl_wrapper.h +++ b/host/commands/fetcher/curl_wrapper.h @@ -15,6 +15,7 @@ #pragma once +#include <mutex> #include <string> #include <curl/curl.h> @@ -55,7 +56,8 @@ public: const std::string& url, const std::vector<std::string>& headers); private: - CURL* curl; + CURL* curl_; + std::mutex mutex_; }; } |