gtls: fix build failure by including nettle-specific headers

Bug: http://curl.haxx.se/bug/view.cgi?id=3554668
Reported by: Anthony G. Basile
This commit is contained in:
Daniel Stenberg 2012-08-06 15:04:25 +02:00
parent 69f5fe070d
commit 986c7949c0
1 changed files with 4 additions and 1 deletions

View File

@ -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