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