From 7117c2d221b2aed4ede8600f6a36b7c1454b4f55 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Wed, 17 Jul 2002 14:10:11 +0000 Subject: Imported from ../bash-2.05b.tar.gz. --- examples/loadables/getconf.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'examples/loadables/getconf.c') diff --git a/examples/loadables/getconf.c b/examples/loadables/getconf.c index fc1c1d1..5d079b6 100644 --- a/examples/loadables/getconf.c +++ b/examples/loadables/getconf.c @@ -49,10 +49,19 @@ #endif #include +#ifdef HAVE_LIMITS_H #include +#endif +#ifdef HAVE_LOCALE_H #include +#endif +#ifdef HAVE_UNISTD_H #include +#endif #include + +#include "typemax.h" + #include "bashansi.h" #include "shell.h" #include "builtins.h" @@ -857,7 +866,6 @@ static const struct conf_variable conf_table[] = static int num_getconf_variables = sizeof(conf_table) / sizeof(struct conf_variable) - 1; extern char *this_command_name; -extern char *xmalloc (); extern char **make_builtin_argv (); static void getconf_help (); -- cgit v1.2.3