Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix compile with SSL on Mac OS X

patch by Remko Tron�on <remko@el-tramo.be>
BUG: 2126899
  • Loading branch information...
commit 5ec91d3c4f0ce893cc54ceb36d7517e64bbd683e 1 parent e4e0304
@ossilator ossilator authored
Showing with 9 additions and 5 deletions.
  1. +9 −5 src/drv_imap.c
View
14 src/drv_imap.c
@@ -22,6 +22,15 @@
* despite that library's more restrictive license.
*/
+/* This must come before isync.h to avoid our #define S messing up
+ * blowfish.h on MacOS X. */
+#include <config.h>
+#if HAVE_LIBSSL
+# include <openssl/ssl.h>
+# include <openssl/err.h>
+# include <openssl/hmac.h>
+#endif
+
#include "isync.h"
#include <assert.h>
@@ -44,11 +53,6 @@
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <netdb.h>
-#if HAVE_LIBSSL
-# include <openssl/ssl.h>
-# include <openssl/err.h>
-# include <openssl/hmac.h>
-#endif
typedef struct imap_server_conf {
struct imap_server_conf *next;
Please sign in to comment.
Something went wrong with that request. Please try again.