summaryrefslogtreecommitdiff
path: root/openssl-compat.h
diff options
context:
space:
mode:
authorAzat Khuzhin <a3at.mail@gmail.com>2017-11-22 10:33:15 +0300
committerAzat Khuzhin <a3at.mail@gmail.com>2017-11-22 10:35:01 +0300
commitc2c08e0203da93938fe35234fa3a1be4d1c3c2e1 (patch)
tree47344ff3a0f38e25a966787c6c3f160d14765e5a /openssl-compat.h
parent33e363f3dfcd21f5125134395e4a7b3531bc3066 (diff)
downloadlibevent-c2c08e0203da93938fe35234fa3a1be4d1c3c2e1.tar.gz
Add missing includes into openssl-compat.h
Before it depends from the caller #include appropriate headers (at least for OPENSSL_VERSION_NUMBER), but let's make it independent. Fixes: #574
Diffstat (limited to 'openssl-compat.h')
-rw-r--r--openssl-compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openssl-compat.h b/openssl-compat.h
index 0f2dcb75..bffd2593 100644
--- a/openssl-compat.h
+++ b/openssl-compat.h
@@ -1,6 +1,9 @@
#ifndef OPENSSL_COMPAT_H
#define OPENSSL_COMPAT_H
+#include <openssl/bio.h>
+#include "util-internal.h"
+
#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
static inline BIO_METHOD *BIO_meth_new(int type, const char *name)