summaryrefslogtreecommitdiff
path: root/src/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.c')
-rw-r--r--src/network.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network.c b/src/network.c
index ba36654..bd30e2d 100644
--- a/src/network.c
+++ b/src/network.c
@@ -25,6 +25,14 @@
# include <openssl/ssl.h>
# include <openssl/err.h>
# include <openssl/rand.h>
+# include <openssl/dh.h>
+# include <openssl/bn.h>
+
+# if OPENSSL_VERSION_NUMBER >= 0x0090800fL
+# ifndef OPENSSL_NO_ECDH
+# include <openssl/ecdh.h>
+# endif
+# endif
#endif
#ifdef USE_OPENSSL