summaryrefslogtreecommitdiff
path: root/vcl/source/font
diff options
context:
space:
mode:
authorRichard PALO <richard@NetBSD.org>2014-11-10 17:46:43 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-12 13:26:35 +0100
commitc22480ada409325a1c9a67dd06ce95b1028cb07e (patch)
tree23a236cad1f979543cdeb222150830cc878f94e6 /vcl/source/font
parent631378fe110ec7c4161a6c36011640522b881c27 (diff)
alloca needs special include on SOLARIS
Change-Id: I72415dbaf1350913938950eb1c0487a78cd67935 Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/source/font')
-rw-r--r--vcl/source/font/PhysicalFontCollection.cxx4
1 files changed, 4 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