diff options
-rw-r--r-- | vcl/source/font/PhysicalFontCollection.cxx | 4 | ||||
-rw-r--r-- | vcl/source/outdev/text.cxx | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/font/PhysicalFontCollection.cxx b/vcl/source/font/PhysicalFontCollection.cxx index 56a8d74eb58c..dbff2c35b628 100644 --- a/vcl/source/font/PhysicalFontCollection.cxx +++ b/vcl/source/font/PhysicalFontCollection.cxx @@ -36,6 +36,10 @@ #include "PhysicalFontCollection.hxx" +#ifdef SOLARIS +#include <alloca.h> +#endif + static unsigned lcl_IsCJKFont( const OUString& rFontName ) { // Test, if Fontname includes CJK characters --> In this case we diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx index 2dd7859f2f7c..151d888cac14 100644 --- a/vcl/source/outdev/text.cxx +++ b/vcl/source/outdev/text.cxx @@ -50,6 +50,10 @@ #include "graphite_features.hxx" #endif +#ifdef SOLARIS +#include <alloca.h> +#endif + #define TEXT_DRAW_ELLIPSIS (TEXT_DRAW_ENDELLIPSIS | TEXT_DRAW_PATHELLIPSIS | TEXT_DRAW_NEWSELLIPSIS) ImplMultiTextLineInfo::ImplMultiTextLineInfo() |