diff --git a/clutter/x11/clutter-x11.h b/clutter/x11/clutter-x11.h index f57e62231..350ef318c 100644 --- a/clutter/x11/clutter-x11.h +++ b/clutter/x11/clutter-x11.h @@ -39,7 +39,12 @@ #include +/* Include clutter-types.h conditionally; users including clutter-x11.h will + * have to include clutter.h as well. + */ +#ifdef CLUTTER_COMPILATION #include +#endif #include #include