[gmime] Fixed the build when crypto is disabled
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] Fixed the build when crypto is disabled
- Date: Sun, 19 Feb 2017 15:20:15 +0000 (UTC)
commit 5a671468edef7862868ab3cb1f11fee1d3cf847d
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date: Sun Feb 19 09:04:01 2017 -0500
Fixed the build when crypto is disabled
gmime/gmime-gpg-context.c | 2 ++
gmime/gmime-pkcs7-context.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gmime/gmime-gpg-context.c b/gmime/gmime-gpg-context.c
index 58ff76c..4f96197 100644
--- a/gmime/gmime-gpg-context.c
+++ b/gmime/gmime-gpg-context.c
@@ -38,7 +38,9 @@
#endif /* ENABLE_CRYPTO */
#include "gmime-error.h"
+#ifdef ENABLE_CRYPTO
#include <gpgme.h>
+#endif
#ifdef ENABLE_DEBUG
#define d(x) x
diff --git a/gmime/gmime-pkcs7-context.c b/gmime/gmime-pkcs7-context.c
index 4e5f751..8b9f8a1 100644
--- a/gmime/gmime-pkcs7-context.c
+++ b/gmime/gmime-pkcs7-context.c
@@ -38,7 +38,9 @@
#endif /* ENABLE_CRYPTO */
#include "gmime-error.h"
+#ifdef ENABLE_CRYPTO
#include <gpgme.h>
+#endif
#ifdef ENABLE_DEBUG
#define d(x) x
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]