summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-08-06 15:04:25 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-08-06 15:04:25 +0200
commit986c7949c0638bebb99bd08d63216433254c2185 (patch)
tree72d03369f445435637bdfeec39ff198ca9901df4 /lib
parent69f5fe070dd0f20a5c4591c70d8d42bc0b8f02dc (diff)
downloadcurl-986c7949c0638bebb99bd08d63216433254c2185.tar.gz
gtls: fix build failure by including nettle-specific headers
Bug: http://curl.haxx.se/bug/view.cgi?id=3554668 Reported by: Anthony G. Basile
Diffstat (limited to 'lib')
-rw-r--r--lib/gtls.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/gtls.c b/lib/gtls.c
index d981ef1eb..c750a6f90 100644
--- a/lib/gtls.c
+++ b/lib/gtls.c
@@ -34,7 +34,10 @@
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
-#ifndef USE_GNUTLS_NETTLE
+#ifdef USE_GNUTLS_NETTLE
+#include <gnutls/crypto.h>
+#include <nettle/md5.h>
+#else
#include <gcrypt.h>
#endif