summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
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>