aboutsummaryrefslogtreecommitdiffstats
path: root/libversit
diff options
context:
space:
mode:
Diffstat (limited to 'libversit')
-rw-r--r--libversit/vcc.y3
-rw-r--r--libversit/vobject.c5
2 files changed, 1 insertions, 7 deletions
diff --git a/libversit/vcc.y b/libversit/vcc.y
index 79cd95fd4e..d3a6af9bf4 100644
--- a/libversit/vcc.y
+++ b/libversit/vcc.y
@@ -107,9 +107,6 @@ DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
#endif
#include <string.h>
-#ifndef __MWERKS__
-#include <malloc.h>
-#endif
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
diff --git a/libversit/vobject.c b/libversit/vobject.c
index 2df57c5927..93f5c163dc 100644
--- a/libversit/vobject.c
+++ b/libversit/vobject.c
@@ -42,11 +42,8 @@ DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
* vobject, and convert a vobject into its textual representation.
*/
-#ifndef MWERKS
-#include <malloc.h>
-#endif
-
#include "vobject.h"
+#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <fcntl.h>