summaryrefslogtreecommitdiffstats
path: root/vendor/openssl-sys/build/run_bindgen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/openssl-sys/build/run_bindgen.rs')
-rw-r--r--vendor/openssl-sys/build/run_bindgen.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/openssl-sys/build/run_bindgen.rs b/vendor/openssl-sys/build/run_bindgen.rs
index 5d307503f..1eeaad225 100644
--- a/vendor/openssl-sys/build/run_bindgen.rs
+++ b/vendor/openssl-sys/build/run_bindgen.rs
@@ -55,6 +55,10 @@ const INCLUDES: &str = "
#if OPENSSL_VERSION_NUMBER >= 0x30000000
#include <openssl/provider.h>
#endif
+
+#if defined(LIBRESSL_VERSION_NUMBER) || defined(OPENSSL_IS_BORINGSSL)
+#include <openssl/poly1305.h>
+#endif
";
#[cfg(feature = "bindgen")]