summaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-2-devel/files/patch-malloc
blob: b923da9db5e6baaaa6e6e1d9e419a11abdc93c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Issuetracker : #i57395#
CWS          : N/A
Author:      : <pjanik@openoffice.org> (JCA)
Description  : 

Index: canvas/source/tools/image.cxx
===================================================================
RCS file: /cvs/gsl/canvas/source/tools/image.cxx,v
retrieving revision 1.2
diff -u -r1.2 image.cxx
--- canvas/source/tools/image.cxx	2 Nov 2005 12:52:42 -0000	1.2
+++ canvas/source/tools/image.cxx	5 Nov 2005 07:54:50 -0000
@@ -103,8 +103,11 @@
 // platform-dependend includes [wrapped into their own namepsaces]
 //////////////////////////////////////////////////////////////////////////////////
 
+#if !defined (FREEBSD)
 #include <malloc.h>		// _alloca
-
+#else
+#include <stdlib.h>
+#endif
 #if defined(WNT)
 	namespace  win32 
     {
OpenPOWER on IntegriCloud