aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-string.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-string.h')
-rw-r--r--lib/ephy-string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ephy-string.h b/lib/ephy-string.h
index de7ebe292..78ee97a09 100644
--- a/lib/ephy-string.h
+++ b/lib/ephy-string.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_STRING_H
#define EPHY_STRING_H