From: Rosen Penev Date: Wed, 20 Jul 2022 02:22:20 +0000 (-0700) Subject: curl-wolfssl.m4: add options header when building test code X-Git-Tag: curl-7_85_0~146 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6657602f504e49d27b5aa667a5ed04076ac2c4f6;p=thirdparty%2Fcurl.git curl-wolfssl.m4: add options header when building test code Needed for certain configurations of wolfSSL. Otherwise, missing header error may occur. Tested with OpenWrt. Closes #9187 --- diff --git a/m4/curl-wolfssl.m4 b/m4/curl-wolfssl.m4 index 1f732e348a..9d6f561d80 100644 --- a/m4/curl-wolfssl.m4 +++ b/m4/curl-wolfssl.m4 @@ -95,6 +95,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 #include ]],[[ return wolfSSL_Init();