Fix missing ifdefs

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25868 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2008-01-05 15:52:18 +00:00
parent f1e4e24f64
commit a61f558660
2 changed files with 5 additions and 2 deletions

View file

@ -43,7 +43,6 @@
#if defined(HAVE_GNUTLS)
#include <gnutls/gnutls.h>
#include <gcrypt.h>
#endif
/* Set up locking callbacks for gcrypt so that it will be thread-safe.
*/
@ -76,6 +75,7 @@ static struct gcry_thread_cbs gcry_threads_other = {
gcry_mutex_lock,
gcry_mutex_unlock
};
#endif
@interface GSTLS : NSObject
@ -164,7 +164,9 @@ GSTLSLog(int level, const char *msg)
}
@implementation GSTLS
#if defined(HAVE_GNUTLS)
static gnutls_anon_client_credentials_t anoncred;
#endif /* HAVE_GNUTLS */
+ (void) initialize
{