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 113462b37d6299c9807317fcf9da098ef4e87c76..b64ab5efc1cb03a9edcd3654496b68c684fe1193 100644 (file)
 #include <errno.h>
 #include <pthread.h>
 
 #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"
 
 #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
 #ifdef HAVE_LIBETPAN
 #include <libetpan/mailstream_ssl.h>
 #endif