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
This commit is contained in:
Dan Winship 2002-04-01 16:27:06 +00:00
parent 405ecff06b
commit 2c202400a4
5 changed files with 16 additions and 9 deletions

View File

@ -1,3 +1,16 @@
2002-04-01 Dan Winship <danw@ximian.com>
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.
2002-02-08 Damon Chaplin <damon@ximian.com>
* src/Makefile.am (SUBDIRS): added libicalvcal.

View File

@ -22,7 +22,7 @@
#include "icalproperty.h"
#include "icalerror.h"
#include "icalmemory.h"
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
int* icallangbind_new_array(int size){

View File

@ -66,9 +66,9 @@
#include "icalgauge.h"
#include <limits.h> /* For PATH_MAX */
#include <dirent.h> /* for opendir() */
#include <errno.h>
#include <sys/types.h> /* for opendir() */
#include <dirent.h> /* for opendir() */
#include <sys/stat.h> /* for stat */
#include <unistd.h> /* for stat, getpid */
#include <time.h> /* for clock() */

View File

@ -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>

View File

@ -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>