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
This commit is contained in:
Rosen Penev 2022-07-19 19:22:20 -07:00 committed by Daniel Stenberg
parent fe8f1512e5
commit 6657602f50
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

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