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