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