aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src/libicalvcal
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-04-02 00:27:06 +0800
committerDan Winship <danw@src.gnome.org>2002-04-02 00:27:06 +0800
commit2c202400a4a483ce03508b81e59372d83fe9903c (patch)
tree3d108117fa76027e4948c383e3a4a0fdec248e74 /libical/src/libicalvcal
parent405ecff06b94869b718a10ce3dae28b5f3ad69ab (diff)
downloadgsoc2013-evolution-2c202400a4a483ce03508b81e59372d83fe9903c.tar
gsoc2013-evolution-2c202400a4a483ce03508b81e59372d83fe9903c.tar.gz
gsoc2013-evolution-2c202400a4a483ce03508b81e59372d83fe9903c.tar.bz2
gsoc2013-evolution-2c202400a4a483ce03508b81e59372d83fe9903c.tar.lz
gsoc2013-evolution-2c202400a4a483ce03508b81e59372d83fe9903c.tar.xz
gsoc2013-evolution-2c202400a4a483ce03508b81e59372d83fe9903c.tar.zst
gsoc2013-evolution-2c202400a4a483ce03508b81e59372d83fe9903c.zip
Darwin/OS portability from Max Horn <max@quendi.de>
* src/libical/icallangbind.c: #include <stdlib.h>, not <malloc.h> * src/libicalvcal/vobject.c: Likewise * src/libicalvcal/vcc.y: Likewise * src/libicalss/icaldirset.c: Rearrange #includes slightly to make Darwin happy. svn path=/trunk/; revision=16307
Diffstat (limited to 'libical/src/libicalvcal')
-rw-r--r--libical/src/libicalvcal/vcc.y3
-rw-r--r--libical/src/libicalvcal/vobject.c5
2 files changed, 1 insertions, 7 deletions
diff --git a/libical/src/libicalvcal/vcc.y b/libical/src/libicalvcal/vcc.y
index 4397198b1b..95d5858d81 100644
--- a/libical/src/libicalvcal/vcc.y
+++ b/libical/src/libicalvcal/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/libical/src/libicalvcal/vobject.c b/libical/src/libicalvcal/vobject.c
index d685b04278..b17830eb72 100644
--- a/libical/src/libicalvcal/vobject.c
+++ b/libical/src/libicalvcal/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>