packages/libs/libuwsc/patches/100-cmake-fix-wolfssl-detection.patch

11 lines
251 B
Diff
Raw Normal View History

--- a/src/ssl.c
+++ b/src/ssl.c
@@ -54,6 +54,7 @@ struct uwsc_ssl_ctx {
#include <openssl/err.h>
#elif UWSC_HAVE_WOLFSSL
#define WC_NO_HARDEN
+#include <wolfssl/options.h>
#include <wolfssl/openssl/ssl.h>
#include <wolfssl/openssl/err.h>
#endif