]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl-wolfssl.m4: add options header when building test code
authorRosen Penev <rosenp@gmail.com>
Wed, 20 Jul 2022 02:22:20 +0000 (19:22 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 20 Jul 2022 08:18:05 +0000 (10:18 +0200)
Needed for certain configurations of wolfSSL. Otherwise, missing header
error may occur.

Tested with OpenWrt.

Closes #9187

m4/curl-wolfssl.m4

index 1f732e348ac250b50d850bb832234640b7913fff..9d6f561d803a2f828efb5fe7dff025ce3ce1441b 100644 (file)
@@ -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 <wolfssl/options.h>
 #include <wolfssl/ssl.h>
        ]],[[
          return wolfSSL_Init();