aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-history.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-history.h')
-rw-r--r--embed/ephy-history.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-history.h b/embed/ephy-history.h
index feafefb7a..3bc7ad752 100644
--- a/embed/ephy-history.h
+++ b/embed/ephy-history.h
@@ -18,6 +18,10 @@
* $Id$
*/
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#ifndef EPHY_HISTORY_H
#define EPHY_HISTORY_H