rc

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

commit c9f54031af8137dbd999eff245df4dff6a470f14
parent 32e3f0b10e224745879b17fbddd1f712f4df6884
Author: tgoodwin <tgoodwin>
Date:   Tue,  7 Jul 1998 10:02:11 +0000

stdlib.h is already covered by STDC_HEADERS

Diffstat:
Mconfigure.ac | 2+-
Mrc.h | 7++++++-
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -18,7 +18,7 @@ AC_PROG_INSTALL AC_PROG_YACC AC_CHECK_PROGS(LN, ln cp) -AC_CHECK_HEADERS(stdlib.h sys/resource.h sys/time.h sys/types.h unistd.h) +AC_CHECK_HEADERS(sys/resource.h sys/time.h sys/types.h unistd.h) AC_HEADER_DIRENT AC_HEADER_STDC diff --git a/rc.h b/rc.h @@ -1,5 +1,11 @@ #include "config.h" +#include <stdarg.h> + +#if STDC_HEADERS +#include <stdlib.h> +#endif + #if HAVE_SYS_TYPES_H #include <sys/types.h> #endif @@ -16,7 +22,6 @@ #undef FALSE #undef TRUE -#include <stdarg.h> #if HAVE_SETPGRP