summaryrefslogtreecommitdiff
path: root/libextra
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-09-19 08:04:54 +0200
committerSimon Josefsson <simon@josefsson.org>2008-09-19 08:04:54 +0200
commitb64e11fdc1deab66b8e0c5334fbb8c7eb1d8eb56 (patch)
tree4b9ec90b1fa976011ff8f0eb65dc5bc7dd91f874 /libextra
parent6f9e0c1090189e9e39e1820f2e2bda5de5f5d078 (diff)
downloadgnutls-b64e11fdc1deab66b8e0c5334fbb8c7eb1d8eb56.tar.gz
Make LZO compression support build.
Tiny patch from Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>.
Diffstat (limited to 'libextra')
-rw-r--r--libextra/gnutls_extra.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libextra/gnutls_extra.c b/libextra/gnutls_extra.c
index ad42cf3016..5b60e02186 100644
--- a/libextra/gnutls_extra.c
+++ b/libextra/gnutls_extra.c
@@ -35,15 +35,14 @@
# endif
#endif
+#ifdef USE_LZO
+#include <gnutls_compress.h>
/* the number of the compression algorithms available in the compression
* structure.
*/
extern int _gnutls_comp_algorithms_size;
-/* Functions in gnutls that have not been initialized.
- */
-#ifdef USE_LZO
typedef int (*LZO_FUNC) ();
extern LZO_FUNC _gnutls_lzo1x_decompress_safe;
extern LZO_FUNC _gnutls_lzo1x_1_compress;
@@ -86,7 +85,7 @@ _gnutls_add_lzo_comp (void)
static int _gnutls_init_extra = 0;
/**
- * gnutls_global_init_extra - This function initializes the global state of gnutls-extra
+ * gnutls_global_init_extra - initializes the global state of gnutls-extra
*
* This function initializes the global state of gnutls-extra library
* to defaults. Returns zero on success.