summaryrefslogtreecommitdiff
path: root/src/meta/meta-window-shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/meta/meta-window-shape.h')
-rw-r--r--src/meta/meta-window-shape.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/meta/meta-window-shape.h b/src/meta/meta-window-shape.h
index b10adf082..a4c5df60d 100644
--- a/src/meta/meta-window-shape.h
+++ b/src/meta/meta-window-shape.h
@@ -23,6 +23,10 @@
#ifndef __META_WINDOW_SHAPE_H__
#define __META_WINDOW_SHAPE_H__
+#if !defined(__META_H_INSIDE__) && !defined(MUTTER_COMPILATION)
+#error "Only <meta/meta.h> can be included directly."
+#endif
+
#include <cairo.h>
#include <glib-object.h>