diff options
Diffstat (limited to 'lib/readline/shell.c')
-rw-r--r-- | lib/readline/shell.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/readline/shell.c b/lib/readline/shell.c index eb99c727..553f3c1c 100644 --- a/lib/readline/shell.c +++ b/lib/readline/shell.c @@ -27,6 +27,9 @@ #endif #if defined (HAVE_UNISTD_H) +# ifdef _MINIX +# include <sys/types.h> +# endif # include <unistd.h> #endif /* HAVE_UNISTD_H */ @@ -36,6 +39,12 @@ # include "ansi_stdlib.h" #endif /* HAVE_STDLIB_H */ +#if defined (HAVE_STRING_H) +# include <string.h> +#else +# include <strings.h> +#endif /* !HAVE_STRING_H */ + extern char *xmalloc (), *xrealloc (); #if !defined (SHELL) |