@@ -, +, @@ cogl-1.12 --- clutter-gst/clutter-gst-video-sink.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) --- a/clutter-gst/clutter-gst-video-sink.c +++ a/clutter-gst/clutter-gst-video-sink.c @@ -42,6 +42,23 @@ #include "config.h" #endif +/* + * cogl-1.12 exposes generic GL types in the API, but not the actual includes. + */ +#include + +#ifdef COGL_HAS_GLES +#include +#include +#elif COGL_HAS_GLES2 +#include +#include +#elif COGL_HAS_GL +#include +#else +#error Unknown cogl configuration +#endif + #include "clutter-gst-video-sink.h" #include "clutter-gst-util.h" #include "clutter-gst-private.h" --