diff options
| -rw-r--r-- | configure.ac | 2 | ||||
| -rw-r--r-- | rc.h | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index d18063c..69dc89c 100644 --- 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 @@ -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 |