diff options
author | Jari Aalto <jari.aalto@cante.net> | 2002-07-17 14:10:11 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:55 +0000 |
commit | 7117c2d221b2aed4ede8600f6a36b7c1454b4f55 (patch) | |
tree | b792f26ecca68813c51ed5ba2e381790758ef31b /examples/loadables/getconf.c | |
parent | f73dda092b33638d2d5e9c35375f687a607b5403 (diff) | |
download | android_external_bash-7117c2d221b2aed4ede8600f6a36b7c1454b4f55.tar.gz android_external_bash-7117c2d221b2aed4ede8600f6a36b7c1454b4f55.tar.bz2 android_external_bash-7117c2d221b2aed4ede8600f6a36b7c1454b4f55.zip |
Imported from ../bash-2.05b.tar.gz.
Diffstat (limited to 'examples/loadables/getconf.c')
-rw-r--r-- | examples/loadables/getconf.c | 10 |
1 files changed, 9 insertions, 1 deletions
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 <stdio.h> +#ifdef HAVE_LIMITS_H #include <limits.h> +#endif +#ifdef HAVE_LOCALE_H #include <locale.h> +#endif +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #include <errno.h> + +#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 (); |