aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-glib-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-glib-compat.h')
-rw-r--r--lib/ephy-glib-compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ephy-glib-compat.h b/lib/ephy-glib-compat.h
index 7b966b2bd..9b445f029 100644
--- a/lib/ephy-glib-compat.h
+++ b/lib/ephy-glib-compat.h
@@ -18,6 +18,10 @@
* $Id: ephy-node-db.h 6588 2006-09-13 11:34:25Z chpe $
*/
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#ifndef EPHY_GLIB_COMPAT_H
#define EPHY_GLIB_COMPAT_H