diff --git a/include/wx/mac/glcanvas.h b/include/wx/mac/glcanvas.h index 73e067d301..5e2a3f606e 100644 --- a/include/wx/mac/glcanvas.h +++ b/include/wx/mac/glcanvas.h @@ -10,7 +10,7 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ -#pragma interface "glcanvas.h" +# pragma interface "glcanvas.h" #endif #ifndef _WX_GLCANVAS_H_ @@ -23,8 +23,13 @@ #include "wx/palette.h" #include "wx/scrolwin.h" -#include -#include +#ifdef __DARWIN__ +# include +# include +#else +# include +# include +#endif //--------------------------------------------------------------------------- // Constants for attriblist