summaryrefslogtreecommitdiff
path: root/src/gnutls.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-08-03 14:20:38 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-08-03 14:21:21 -0700
commit967e2ef61dab8d2046f3285eefa71f3dcb9d9b60 (patch)
treea39a9cd6d0d5fc2b95226b58ad786e14cda76595 /src/gnutls.c
parent9a68740d9650d2825094296b737a73f158f664ab (diff)
Fix GnuTLS includes
* src/gnutls.c [HAVE_GNUTLS]: Don’t include gnutls/gnutls.h a second time; although it doesn’t hurt, it’s not needed. * src/sysdep.c [!HAVE_GNUTLS]: Don’t include gnutls/crypto.h, as it may not be available. Problem reported by Glenn Morris in: http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00100.html
Diffstat (limited to 'src/gnutls.c')
-rw-r--r--src/gnutls.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gnutls.c b/src/gnutls.c
index d242919270..af2ba52870 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -26,7 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "coding.h"
#ifdef HAVE_GNUTLS
-#include <gnutls/gnutls.h>
#ifdef WINDOWSNT
#include <windows.h>