diff --git a/uppsrc/GLCtrl/GLCtrl.h b/uppsrc/GLCtrl/GLCtrl.h index 90f5b3055..6b5c54f5b 100644 --- a/uppsrc/GLCtrl/GLCtrl.h +++ b/uppsrc/GLCtrl/GLCtrl.h @@ -3,26 +3,27 @@ #include +#ifdef PLATFORM_X11 #define Time XTime #define Font XFont #define Display XDisplay #define Picture XPicture - #define Status int +#endif #include #include #ifdef PLATFORM_X11 - #include -#endif + +#include #undef Status - #undef Picture #undef Time #undef Font #undef Display +#endif NAMESPACE_UPP