diff options
author | Andy Wingo <wingo@pobox.com> | 2011-12-22 09:54:24 -0500 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-12-22 09:54:24 -0500 |
commit | 34cf38c3a2eb143d982aa14e76888098aea468b2 (patch) | |
tree | 9122a88920fb8c5fdc9639671715b1c3d48302b1 /libguile/gc.c | |
parent | e0a8221dcf0c6592a968a10e511a69bb05728753 (diff) | |
download | guile-34cf38c3a2eb143d982aa14e76888098aea468b2.tar.gz |
stdlib.h, not malloc.h
* configure.ac: Remove check for malloc.h.
* libguile/gc-malloc.c:
* libguile/gc.c:
* libguile/mallocs.c:
* libguile/smob.c: Use stdlib instead of malloc.h.
Diffstat (limited to 'libguile/gc.c')
-rw-r--r-- | libguile/gc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libguile/gc.c b/libguile/gc.c index 33b034040..7816801e1 100644 --- a/libguile/gc.c +++ b/libguile/gc.c @@ -29,6 +29,7 @@ #include <stdio.h> #include <errno.h> #include <string.h> +#include <stdlib.h> #include <math.h> #ifdef __ia64__ @@ -67,10 +68,6 @@ extern unsigned long * __libc_ia64_register_backing_store_base; #include "libguile/debug-malloc.h" #endif -#ifdef HAVE_MALLOC_H -#include <malloc.h> -#endif - #ifdef HAVE_UNISTD_H #include <unistd.h> #endif |