aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-04-02 00:29:14 +0800
committerDan Winship <danw@src.gnome.org>2002-04-02 00:29:14 +0800
commit2a6e7401b29cb98b7c6f2ccc0a5694241d155d12 (patch)
treef12954fe2f7492f82751f3b7ab8fce8b3f127705
parent2c202400a4a483ce03508b81e59372d83fe9903c (diff)
downloadgsoc2013-evolution-2a6e7401b29cb98b7c6f2ccc0a5694241d155d12.tar
gsoc2013-evolution-2a6e7401b29cb98b7c6f2ccc0a5694241d155d12.tar.gz
gsoc2013-evolution-2a6e7401b29cb98b7c6f2ccc0a5694241d155d12.tar.bz2
gsoc2013-evolution-2a6e7401b29cb98b7c6f2ccc0a5694241d155d12.tar.lz
gsoc2013-evolution-2a6e7401b29cb98b7c6f2ccc0a5694241d155d12.tar.xz
gsoc2013-evolution-2a6e7401b29cb98b7c6f2ccc0a5694241d155d12.tar.zst
gsoc2013-evolution-2a6e7401b29cb98b7c6f2ccc0a5694241d155d12.zip
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> svn path=/trunk/; revision=16308
-rw-r--r--ChangeLog8
-rw-r--r--libversit/vcc.y3
-rw-r--r--libversit/vobject.c5
3 files changed, 9 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index cd255f324e..6ca0eeb8f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>