aboutsummaryrefslogtreecommitdiffstats
path: root/src/vmime/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/vmime/net')
-rw-r--r--src/vmime/net/messageSet.cpp9
-rw-r--r--src/vmime/net/messageSet.hpp9
2 files changed, 18 insertions, 0 deletions
diff --git a/src/vmime/net/messageSet.cpp b/src/vmime/net/messageSet.cpp
index 64b4aa3a..8a923a3f 100644
--- a/src/vmime/net/messageSet.cpp
+++ b/src/vmime/net/messageSet.cpp
@@ -21,6 +21,12 @@
// the GNU General Public License cover the whole combination.
//
+#include "vmime/config.hpp"
+
+
+#if VMIME_HAVE_MESSAGING_FEATURES
+
+
#include "vmime/net/messageSet.hpp"
#include <iterator>
@@ -386,3 +392,6 @@ const messageRange& messageSet::getRangeAt(const size_t i) const
} // net
} // vmime
+
+
+#endif // VMIME_HAVE_MESSAGING_FEATURES
diff --git a/src/vmime/net/messageSet.hpp b/src/vmime/net/messageSet.hpp
index a096b1c7..dbe1cce3 100644
--- a/src/vmime/net/messageSet.hpp
+++ b/src/vmime/net/messageSet.hpp
@@ -25,6 +25,12 @@
#define VMIME_NET_MESSAGESET_HPP_INCLUDED
+#include "vmime/config.hpp"
+
+
+#if VMIME_HAVE_MESSAGING_FEATURES
+
+
#include "vmime/net/message.hpp"
@@ -351,4 +357,7 @@ private:
} // vmime
+#endif // VMIME_HAVE_MESSAGING_FEATURES
+
+
#endif // VMIME_NET_MESSAGESET_HPP_INCLUDED