aboutsummaryrefslogtreecommitdiff
path: root/patches/libssl.hidden.patch
diff options
context:
space:
mode:
authorBrent Cook <buster@gmail.com>2023-03-15 17:33:08 -0600
committerBrent Cook <buster@gmail.com>2023-03-15 18:49:29 -0600
commit977be09d69a9f9b7eaf85dbd83465c0ec8361598 (patch)
tree2955551a974a3a54b4593236ae202731b0ea0a8c /patches/libssl.hidden.patch
parent047fddbee9f34c16a82e66ecbe1058bb8810e82f (diff)
downloadportable-977be09d69a9f9b7eaf85dbd83465c0ec8361598.tar.gz
portable-977be09d69a9f9b7eaf85dbd83465c0ec8361598.tar.bz2
portable-977be09d69a9f9b7eaf85dbd83465c0ec8361598.zip
Fix build for MSVC
Diffstat (limited to 'patches/libssl.hidden.patch')
-rw-r--r--patches/libssl.hidden.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/libssl.hidden.patch b/patches/libssl.hidden.patch
new file mode 100644
index 0000000..5a8c2c8
--- /dev/null
+++ b/patches/libssl.hidden.patch
@@ -0,0 +1,15 @@
1diff -u openbsd/src/lib/libssl/hidden/openssl/ssl.h ssl/hidden/openssl/ssl.h
2--- openbsd/src/lib/libssl/hidden/openssl/ssl.h 2023-03-15 11:41:52.466146400 -0600
3+++ ssl/hidden/openssl/ssl.h 2023-03-15 16:49:29.358377300 -0600
4@@ -18,7 +18,11 @@
5 #ifndef _LIBSSL_SSL_H_
6 #define _LIBSSL_SSL_H_
7
8+#ifdef _MSC_VER
9+#include <../include/openssl/ssl.h>
10+#else
11 #include_next <openssl/ssl.h>
12+#endif
13 #include "ssl_namespace.h"
14
15 LSSL_USED(BIO_f_ssl);