Fix bug #3964 "headers in wrong order -- file src/common/ssl.c"
authorRicardo Mones <ricardo@mones.org>
Tue, 21 Jan 2014 11:46:23 +0000 (12:46 +0100)
committerRicardo Mones <ricardo@mones.org>
Tue, 21 Jan 2014 11:46:23 +0000 (12:46 +0100)
Also cleans "ssl.c:36:1: warning: 'gcry_threads_pthread' defined but not used"

src/common/ssl.c

index 113462b..b64ab5e 100644 (file)
 #include <errno.h>
 #include <pthread.h>
 
-#if GNUTLS_VERSION_NUMBER <= 0x020b00
-#include <gcrypt.h>
-GCRY_THREAD_OPTION_PTHREAD_IMPL;
-#endif
-
 #include "claws.h"
 #include "utils.h"
 #include "ssl.h"
 #include "ssl_certificate.h"
 #include "hooks.h"
 
+#if GNUTLS_VERSION_NUMBER <= 0x020b00
+#include <gcrypt.h>
+GCRY_THREAD_OPTION_PTHREAD_IMPL;
+#endif
+
 #ifdef HAVE_LIBETPAN
 #include <libetpan/mailstream_ssl.h>
 #endif