aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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