diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-04-20 10:08:23 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-04-20 10:08:30 +0200 |
commit | 03d0c143bdf74a5d9be5e92415278c252e425d30 (patch) | |
tree | 9c16218e1d35c097b892decd3868004daa1923a8 | |
parent | 0f076e9892d08bafec92a6626b3e85e7f433437d (diff) | |
download | gnutls-03d0c143bdf74a5d9be5e92415278c252e425d30.tar.gz |
gnutls_int.h: allow compiling with system (gnutls) headers
-rw-r--r-- | lib/gnutls_int.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index cbd5edf082..8d26125329 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -94,17 +94,12 @@ typedef struct { #include <gnutls/abstract.h> #include <system.h> -/* - * They are not needed any more. You can simply enable - * the gnutls_log callback to get error descriptions. - -#define BUFFERS_DEBUG -#define WRITE_DEBUG -#define READ_DEBUG -#define HANDSHAKE_DEBUG // Prints some information on handshake -#define COMPRESSION_DEBUG -#define DEBUG -*/ +/* in case we compile with system headers taking priority, we + * make sure that some new attributes are still available. + */ +#ifndef __GNUTLS_CONST__ +# define __GNUTLS_CONST__ +#endif /* The size of a handshake message should not * be larger than this value. |