aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-base-embed.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-base-embed.h')
-rw-r--r--embed/ephy-base-embed.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-base-embed.h b/embed/ephy-base-embed.h
index 1f439afff..d2043a8b9 100644
--- a/embed/ephy-base-embed.h
+++ b/embed/ephy-base-embed.h
@@ -81,4 +81,8 @@ void ephy_base_embed_set_visibility (EphyBaseEmbed *embed,
G_END_DECLS
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#endif /* __EPHY_BASE_EMBED_H__ */