diff options
Diffstat (limited to 'alloc.c')
-rw-r--r-- | alloc.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,10 @@ #include "alloc.h" #include "error.h" -extern char *malloc(); +#ifndef __GNUC__ + extern char *malloc(); +#else +# include <stdlib.h> +#endif extern void free(); #define ALIGNMENT 16 /* XXX: assuming that this alignment is enough */ |