diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-10-17 15:56:56 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-10-17 15:56:56 +0200 |
commit | 5bf201a7f5163730a8245284a6eb183b180470d1 (patch) | |
tree | 967dae1e42dbcd04e5546f34527802af42a9c9cf | |
parent | 9bbbf8a4b02d7bab766ca7a464f8c02a246e55ba (diff) | |
download | gnutls-5bf201a7f5163730a8245284a6eb183b180470d1.tar.gz |
Move compat.h #include, to make authz prototypes work.
-rw-r--r-- | includes/gnutls/gnutls.h.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/gnutls/gnutls.h.in b/includes/gnutls/gnutls.h.in index 72c90b59de..535494669b 100644 --- a/includes/gnutls/gnutls.h.in +++ b/includes/gnutls/gnutls.h.in @@ -60,7 +60,6 @@ extern "C" #endif /* Get time_t. */ #include <time.h> -#include <gnutls/compat.h> #define GNUTLS_CIPHER_RIJNDAEL_128_CBC GNUTLS_CIPHER_AES_128_CBC #define GNUTLS_CIPHER_RIJNDAEL_256_CBC GNUTLS_CIPHER_AES_256_CBC @@ -1222,6 +1221,9 @@ extern "C" #define GNUTLS_E_APPLICATION_ERROR_MAX -65000 #define GNUTLS_E_APPLICATION_ERROR_MIN -65500 + /* Backwards compatibility mappings. */ +#include <gnutls/compat.h> + #ifdef __cplusplus } #endif |