From: kgv Date: Fri, 21 Sep 2012 12:27:23 +0000 (+0400) Subject: 0023316: OpenGl package can not be compiled on RedHat40-64 X-Git-Tag: V6_5_4_beta1~28 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=3695b8c227098a2e1c08d411970d6d737dd9a64c;p=occt-copy.git 0023316: OpenGl package can not be compiled on RedHat40-64 OpenGl_Window avoid early unprotected glx.h inclusion which may cause system glext.h inclusion --- diff --git a/src/OpenGl/OpenGl_Window.hxx b/src/OpenGl/OpenGl_Window.hxx index 783ae5cb41..9cd61e7057 100644 --- a/src/OpenGl/OpenGl_Window.hxx +++ b/src/OpenGl/OpenGl_Window.hxx @@ -17,19 +17,17 @@ // purpose or non-infringement. Please see the License for the specific terms // and conditions governing the rights and limitations under the License. - #ifndef _OpenGl_Window_Header #define _OpenGl_Window_Header -#include -#include - -#include +#include #include -#include -#include #include +#include +#include + +#include //! This class represents low-level wrapper over window with GL context. //! The window itself should be provided to constructor.