aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-notebook.h')
-rw-r--r--src/ephy-notebook.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ephy-notebook.h b/src/ephy-notebook.h
index e0663103c..ad41966fe 100644
--- a/src/ephy-notebook.h
+++ b/src/ephy-notebook.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_NOTEBOOK_H
#define EPHY_NOTEBOOK_H