Skip to content

Commit 6cce795

Browse files
committed
Fixed build error on non Windows environments with OpenSSL
1 parent e9058e5 commit 6cce795

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

httplib.h

+2
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@ using socket_t = int;
196196
#include <openssl/ssl.h>
197197
#include <openssl/x509v3.h>
198198

199+
#ifdef _WIN32
199200
#include <openssl/applink.c>
201+
#endif
200202

201203
#include <iomanip>
202204
#include <iostream>

0 commit comments

Comments
 (0)