$NetBSD: patch-src_OpenGl_OpenGl__ShaderObject.cxx,v 1.1 2023/02/12 14:42:25 tnn Exp $ Needs alloca.h on SunOS. --- src/OpenGl/OpenGl_ShaderObject.cxx.orig 2022-11-11 22:19:44.000000000 +0000 +++ src/OpenGl/OpenGl_ShaderObject.cxx @@ -26,6 +26,10 @@ #include // for alloca() #endif +#ifdef __sun +#include +#endif + IMPLEMENT_STANDARD_RTTIEXT(OpenGl_ShaderObject,OpenGl_Resource) //! Puts line numbers to the output of GLSL program source code.