diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/gnutls.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gnutls.h b/src/gnutls.h index 3ec86a8892d..19c16867d7a 100644 --- a/src/gnutls.h +++ b/src/gnutls.h | |||
| @@ -23,8 +23,16 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 23 | #include <gnutls/gnutls.h> | 23 | #include <gnutls/gnutls.h> |
| 24 | #include <gnutls/x509.h> | 24 | #include <gnutls/x509.h> |
| 25 | 25 | ||
| 26 | #ifdef HAVE_GNUTLS3 | 26 | #if 0x030000 <= GNUTLS_VERSION_NUMBER |
| 27 | #include <gnutls/crypto.h> | 27 | # define HAVE_GNUTLS3 |
| 28 | # include <gnutls/crypto.h> | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #if 0x030400 <= GNUTLS_VERSION_NUMBER | ||
| 32 | # define HAVE_GNUTLS3_AEAD | ||
| 33 | # define HAVE_GNUTLS3_CIPHER | ||
| 34 | # define HAVE_GNUTLS3_DIGEST | ||
| 35 | # define HAVE_GNUTLS3_HMAC | ||
| 28 | #endif | 36 | #endif |
| 29 | 37 | ||
| 30 | #include "lisp.h" | 38 | #include "lisp.h" |