Merge pull request #19548 from ynezz/ynezz/openwrt-21.02-fix-broken-libcurl

[21.02] fix broken libcurl by backporting curl: fix compilation with wolfSSL
This commit is contained in:
Stan Grishin 2022-10-07 17:33:43 -07:00 committed by GitHub
commit dfdc5c6fc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,10 @@
--- a/m4/curl-wolfssl.m4
+++ b/m4/curl-wolfssl.m4
@@ -93,6 +93,7 @@ if test "x$OPT_WOLFSSL" != xno; then
They are set up properly later if it is detected. */
#undef SIZEOF_LONG
#undef SIZEOF_LONG_LONG
+#include <wolfssl/options.h>
#include <wolfssl/ssl.h>
]],[[
return wolfSSL_Init();