rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit a0f0aa5f02a087f2c433f6cc53a6331c5befaaed
parent 3173fedfe4988d304bebf0e598384cab76fe94e9
Author: tgoodwin <tgoodwin>
Date:   Wed,  8 Jul 1998 13:31:24 +0000

include declaration for malloc() if we didn't have stdlib.h
is this right thing to do?

Diffstat:
Mrc.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/rc.h b/rc.h @@ -4,6 +4,8 @@ #if STDC_HEADERS #include <stdlib.h> +#else +extern void *malloc(size_t); #endif #if HAVE_SYS_TYPES_H