aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-history-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-history-item.h')
-rw-r--r--embed/ephy-history-item.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-history-item.h b/embed/ephy-history-item.h
index 7ec7871d5..ec53a4b99 100644
--- a/embed/ephy-history-item.h
+++ b/embed/ephy-history-item.h
@@ -50,4 +50,8 @@ char* ephy_history_item_get_title (EphyHistoryItem *item);
G_END_DECLS
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#endif /* __EPHY_HISTORY_ITEM_H__ */