diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | libversit/vcc.y | 3 | ||||
-rw-r--r-- | libversit/vobject.c | 5 |
3 files changed, 9 insertions, 7 deletions
@@ -1,3 +1,11 @@ +2002-04-01 Dan Winship <danw@ximian.com> + + Darwin/OS X portability from Max Horn <max@quendi.de> + + * libversit/vcc.y: Remove #include <malloc.h>. + + * libversit/vobject.c: Likewise, and #include <stdlib.h> + 2002-03-30 Ettore Perazzoli <ettore@ximian.com> * configure.in: Add argument `--enable-shlib-components'. New 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> |