aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/imap/IMAPPart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/imap/IMAPPart.cpp')
-rw-r--r--src/net/imap/IMAPPart.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/imap/IMAPPart.cpp b/src/net/imap/IMAPPart.cpp
index 32021e83..13de4d77 100644
--- a/src/net/imap/IMAPPart.cpp
+++ b/src/net/imap/IMAPPart.cpp
@@ -21,6 +21,12 @@
// the GNU General Public License cover the whole combination.
//
+#include "vmime/config.hpp"
+
+
+#if VMIME_HAVE_MESSAGING_FEATURES && VMIME_HAVE_MESSAGING_PROTO_IMAP
+
+
#include "vmime/net/imap/IMAPPart.hpp"
#include "vmime/net/imap/IMAPStructure.hpp"
@@ -150,3 +156,6 @@ header& IMAPPart::getOrCreateHeader()
} // net
} // vmime
+
+#endif // VMIME_HAVE_MESSAGING_FEATURES && VMIME_HAVE_MESSAGING_PROTO_IMAP
+