diff --git a/ChangeLog b/ChangeLog index 80f44ba83..09e89c26c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,8 @@ 2008-01-05 Richard Frith-Macdonald - * config\pathtls.m4: fixup form mingw32 + * config/pathtls.m4: fixup form mingw32 * configure: regenerate + * Source/GSSocketStream.m: Fix missing isfeds 2008-01-04 Riccardo Mottola * Source/NSKeyValueObserving.m: fixed cc99ism diff --git a/Source/GSSocketStream.m b/Source/GSSocketStream.m index 254673b7f..0154b1fab 100644 --- a/Source/GSSocketStream.m +++ b/Source/GSSocketStream.m @@ -43,7 +43,6 @@ #if defined(HAVE_GNUTLS) #include #include -#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 {