From 8e0679d9227c964d8df84bcb71054a4f14f72343 Mon Sep 17 00:00:00 2001 From: John Denker Date: Sun, 27 Apr 2014 16:04:51 -0700 Subject: get rid of some warnings --- alloc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'alloc.c') diff --git a/alloc.c b/alloc.c index c661453..f890d84 100644 --- a/alloc.c +++ b/alloc.c @@ -1,6 +1,10 @@ #include "alloc.h" #include "error.h" -extern char *malloc(); +#ifndef __GNUC__ + extern char *malloc(); +#else +# include +#endif extern void free(); #define ALIGNMENT 16 /* XXX: assuming that this alignment is enough */ -- cgit v1.2.3