From 3928f79a358f10de421ad015ce11679291ccf4c6 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 30 Jun 2010 22:18:48 +0200 Subject: More libgcrypt fixes. --- src/gnutls_hooks.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/gnutls_hooks.c b/src/gnutls_hooks.c index 8bb0059..2130cb0 100644 --- a/src/gnutls_hooks.c +++ b/src/gnutls_hooks.c @@ -20,18 +20,17 @@ #include "http_vhost.h" #include "ap_mpm.h" -#if GNUTLS_VERSION_MAJOR <= 2 && GNUTLS_VERSION_MINOR < 11 +#if APR_HAS_THREADS +# if GNUTLS_VERSION_MAJOR <= 2 && GNUTLS_VERSION_MINOR < 11 #include +GCRY_THREAD_OPTION_PTHREAD_IMPL; +# endif #endif #if !USING_2_1_RECENT extern server_rec *ap_server_conf; #endif -#if APR_HAS_THREADS -GCRY_THREAD_OPTION_PTHREAD_IMPL; -#endif - #if MOD_GNUTLS_DEBUG static apr_file_t *debug_log_fp; #endif -- cgit