diff options
Diffstat (limited to 'editors/openoffice.org-2.0-devel/files/patch-i64762')
-rw-r--r-- | editors/openoffice.org-2.0-devel/files/patch-i64762 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/editors/openoffice.org-2.0-devel/files/patch-i64762 b/editors/openoffice.org-2.0-devel/files/patch-i64762 new file mode 100644 index 000000000000..70b535dd070c --- /dev/null +++ b/editors/openoffice.org-2.0-devel/files/patch-i64762 @@ -0,0 +1,19 @@ +Index: sal/osl/unx/security.c +=================================================================== +RCS file: /cvs/porting/sal/osl/unx/security.c,v +retrieving revision 1.18 +diff -u -r1.18 security.c +--- sal/osl/unx/security.c 20 Apr 2006 16:24:05 -0000 1.18 ++++ sal/osl/unx/security.c 25 Apr 2006 21:35:23 -0000 +@@ -57,6 +57,11 @@ + #define PAM_BINARY_MSG 6 + #endif + ++#include <stdint.h> //C99 contains SIZE_MAX ++#ifndef SIZE_MAX ++#define SIZE_MAX (sizeof (size_t) -1) ++#endif ++ + extern oslModule SAL_CALL osl_psz_loadModule(const sal_Char *pszModuleName, sal_Int32 nRtldMode); + extern void* SAL_CALL osl_psz_getSymbol(oslModule hModule, const sal_Char* pszSymbolName); + static oslSecurityError SAL_CALL |