diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2000-12-17 00:42:42 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2000-12-17 00:42:42 +0000 |
commit | 7142b539f9ea1473b91bb34fc97adc0148b74fb6 (patch) | |
tree | 7a61cb9f7261c2b4e347bc74cf11287a9b62fa9a | |
parent | 446e9d9f3433a038b416f72bcaa6c9511c5ec3bd (diff) | |
download | gnutls-7142b539f9ea1473b91bb34fc97adc0148b74fb6.tar.gz |
added check for zlib.h
-rw-r--r-- | lib/gnutls_compress_int.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_compress_int.c b/lib/gnutls_compress_int.c index c175ab2e07..e224fded82 100644 --- a/lib/gnutls_compress_int.c +++ b/lib/gnutls_compress_int.c @@ -23,7 +23,9 @@ #include "gnutls_compress.h" #include "gnutls_errors.h" #include "gnutls_compress_int.h" +#ifdef HAVE_ZLIB_H #include <zlib.h> +#endif #define MAX_COMP_SIZE 17408 /* 2^14+1024 */ int gnutls_compress( CompressionMethod algorithm, char* plain, int plain_size, char** compressed) { |