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
commit754e9c5d871c03e18678383bc388ce47a19c7261 (patch)
tree71e84c6728f2e1d35ef6457eac683cb6cd84ab28 /desktop
parent151e325d9adc2e073835665bf2b3c004444b0726 (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 639aacd765..c3b4cb6fd6 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 3b5f480802..2e67e6c728 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>