aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-node-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-node-common.h')
-rw-r--r--lib/ephy-node-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ephy-node-common.h b/lib/ephy-node-common.h
index fe71bccf0..2434752f6 100644
--- a/lib/ephy-node-common.h
+++ b/lib/ephy-node-common.h
@@ -49,4 +49,8 @@ typedef enum
EPHY_NODE_NORMAL_PRIORITY
} EphyNodePriority;
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#endif /* EPHY_NODE_COMMON_H */