From 6fe6fd5dbeb34d4f1a684b0f38ea702afcda884b Mon Sep 17 00:00:00 2001 From: yhirose Date: Fri, 10 Jan 2020 09:40:26 -0500 Subject: [PATCH] Fixed build errors --- httplib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/httplib.h b/httplib.h index 7c61488..4132abc 100644 --- a/httplib.h +++ b/httplib.h @@ -820,6 +820,7 @@ inline void Post(std::vector &requests, const char *path, Post(requests, path, Headers(), body, content_type); } +#ifdef CPPHTTPLIB_OPENSSL_SUPPORT class SSLServer : public Server { public: SSLServer(const char *cert_path, const char *private_key_path, @@ -1253,6 +1254,7 @@ private: time_t read_timeout_sec_; time_t read_timeout_usec_; }; +#endif class BufferStream : public Stream { public: