diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-01-23 11:04:05 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-01-23 11:05:24 +0100 |
commit | 91567c26f436ccce0fb60ad6a9671f046a4a68e7 (patch) | |
tree | 6d8b92939f40292c9cf4a8c86b35a4fbcfba71c4 /vcl/win | |
parent | c5b6b206c0e80fae7de4d452334541d2198d41ba (diff) |
calling alloca() requires #include <sal/alloca.h>
Change-Id: I59e5ede0c0cfb10f4196d79ae762132ae4ecb9bb
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/source/gdi/winlayout.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx index 9db8f43c72eb..bcadd8d538af 100644 --- a/vcl/win/source/gdi/winlayout.cxx +++ b/vcl/win/source/gdi/winlayout.cxx @@ -32,10 +32,7 @@ #include "sallayout.hxx" #include <cstdio> -#include <malloc.h> -#ifndef __MINGW32__ -#define alloca _alloca -#endif +#include <sal/alloca.h> #include <algorithm> |