summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-03-22 10:14:38 +0000
committerMichael Meeks <michael.meeks@novell.com>2011-03-22 10:14:38 +0000
commit57d3e290cc3e8ae8268e9731bcde51e6793cb4d1 (patch)
tree4b89dbe18ccbc8a51bc0b78ad90876adc85299aa /desktop
parent014efb9efc585331e28da5a456f582f5beebeea3 (diff)
fix misc. Mac build problems anyway
Diffstat (limited to 'desktop')
-rw-r--r--desktop/unx/source/args.c2
-rwxr-xr-xdesktop/unx/source/start.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/desktop/unx/source/args.c b/desktop/unx/source/args.c
index 639aacd765cf..c3b4cb6fd6fd 100644
--- a/desktop/unx/source/args.c
+++ b/desktop/unx/source/args.c
@@ -29,7 +29,7 @@
* in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
* instead of those above.
*/
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
#include <osl/process.h>
diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c
index 0393b71934bc..f7b4886d8000 100755
--- a/desktop/unx/source/start.c
+++ b/desktop/unx/source/start.c
@@ -38,6 +38,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <libgen.h>
+#include <string.h>
#include <osl/nlsupport.h>
#include <osl/process.h>