0027197: Configuration - fix compilation issues when using mingw
[occt.git] / src / OpenGl / OpenGl_ShaderProgram.cxx
index 90ef45b..7392d07 100755 (executable)
 
 #include <OpenGl_GlCore32.hxx>
 
+#ifdef _WIN32
+  #include <malloc.h> // for alloca()
+#endif
+
 IMPLEMENT_STANDARD_RTTIEXT(OpenGl_ShaderProgram,OpenGl_Resource)
 
 OpenGl_VariableSetterSelector OpenGl_ShaderProgram::mySetterSelector = OpenGl_VariableSetterSelector();