aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-python-extension.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-python-extension.h')
-rw-r--r--src/ephy-python-extension.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ephy-python-extension.h b/src/ephy-python-extension.h
index 00450f3f7..50862b791 100644
--- a/src/ephy-python-extension.h
+++ b/src/ephy-python-extension.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_PYTHON_EXTENSION_H
#define EPHY_PYTHON_EXTENSION_H