aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2015-04-11 23:58:42 -0400
committerJay Satiro <raysatiro@yahoo.com>2015-04-11 23:58:42 -0400
commit72bea7cc651491fefc8e1a3bb0c7238dc90f149c (patch)
treef5ec3b48eed7b809dc87822626828bfb14699934 /lib
parent139141f8d73eb5820a64b100485572a263f4156b (diff)
cyassl: Include the CyaSSL build config
CyaSSL >= 2.6.0 may have an options.h that was generated during its build by configure.
Diffstat (limited to 'lib')
-rw-r--r--lib/vtls/cyassl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/vtls/cyassl.c b/lib/vtls/cyassl.c
index 5e79389ea..9ea7a88f6 100644
--- a/lib/vtls/cyassl.c
+++ b/lib/vtls/cyassl.c
@@ -45,6 +45,10 @@
#include "rawstr.h"
#include "curl_printf.h"
+/* The first CyaSSL include should be its build config aka options.h */
+#ifdef HAVE_CYASSL_OPTIONS_H
+#include <cyassl/options.h>
+#endif
#include <cyassl/ssl.h>
#include <cyassl/version.h>
#ifdef HAVE_CYASSL_ERROR_SSL_H