diff --git a/gl/cogl-defines.h b/gl/cogl-defines.h index 0dec9f4c6..e5e8ba482 100644 --- a/gl/cogl-defines.h +++ b/gl/cogl-defines.h @@ -26,7 +26,12 @@ #ifndef __COGL_DEFINES_H__ #define __COGL_DEFINES_H__ +#ifdef WIN32 +#include +#include +#else #include +#endif G_BEGIN_DECLS diff --git a/gl/cogl.c b/gl/cogl.c index ce89bb273..6d2876a2d 100644 --- a/gl/cogl.c +++ b/gl/cogl.c @@ -29,7 +29,12 @@ #include "cogl.h" +#ifdef WIN32 +#include +#include +#else #include +#endif #include #ifdef HAVE_CLUTTER_GLX