aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine/camel-null-store.h
diff options
context:
space:
mode:
Diffstat (limited to 'libemail-engine/camel-null-store.h')
-rw-r--r--libemail-engine/camel-null-store.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libemail-engine/camel-null-store.h b/libemail-engine/camel-null-store.h
index cedcef4154..aa076dfd2d 100644
--- a/libemail-engine/camel-null-store.h
+++ b/libemail-engine/camel-null-store.h
@@ -21,6 +21,10 @@
* the account type. This bizarre hack keeps that bizzare hack working
* until we can support multiple identities properly. */
+#if !defined (__LIBEMAIL_ENGINE_H_INSIDE__) && !defined (LIBEMAIL_ENGINE_COMPILATION)
+#error "Only <libemail-engine/libemail-engine.h> should be included directly."
+#endif
+
#ifndef CAMEL_NULL_STORE_H
#define CAMEL_NULL_STORE_H