diff options
| author | Paul Eggert | 2016-08-03 14:20:38 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-08-03 14:21:21 -0700 |
| commit | 967e2ef61dab8d2046f3285eefa71f3dcb9d9b60 (patch) | |
| tree | a39a9cd6d0d5fc2b95226b58ad786e14cda76595 /src/gnutls.c | |
| parent | 9a68740d9650d2825094296b737a73f158f664ab (diff) | |
| download | emacs-967e2ef61dab8d2046f3285eefa71f3dcb9d9b60.tar.gz emacs-967e2ef61dab8d2046f3285eefa71f3dcb9d9b60.zip | |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gnutls.c b/src/gnutls.c index d242919270b..af2ba52870c 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/>. */ | |||
| 26 | #include "coding.h" | 26 | #include "coding.h" |
| 27 | 27 | ||
| 28 | #ifdef HAVE_GNUTLS | 28 | #ifdef HAVE_GNUTLS |
| 29 | #include <gnutls/gnutls.h> | ||
| 30 | 29 | ||
| 31 | #ifdef WINDOWSNT | 30 | #ifdef WINDOWSNT |
| 32 | #include <windows.h> | 31 | #include <windows.h> |