diff --git a/clutter/clutter-canvas.h b/clutter/clutter-canvas.h index 26cc8d372..c37d947fe 100644 --- a/clutter/clutter-canvas.h +++ b/clutter/clutter-canvas.h @@ -22,6 +22,10 @@ * Emmanuele Bassi */ +#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __CLUTTER_CANVAS_H__ #define __CLUTTER_CANVAS_H__