Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument/ev-document-info.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument/ev-document-info.h')
-rw-r--r--libdocument/ev-document-info.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdocument/ev-document-info.h b/libdocument/ev-document-info.h
index 51d5f7d..a75f681 100644
--- a/libdocument/ev-document-info.h
+++ b/libdocument/ev-document-info.h
@@ -18,6 +18,10 @@
*
*/
+#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-document.h> can be included directly."
+#endif
+
#ifndef EV_DOCUMENT_INFO_H
#define EV_DOCUMENT_INFO_H