projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported from ../bash-2.02.tar.gz.
[platform/upstream/bash.git]
/
lib
/
readline
/
shell.c
diff --git
a/lib/readline/shell.c
b/lib/readline/shell.c
index
eb99c72
..
553f3c1
100644
(file)
--- a/
lib/readline/shell.c
+++ b/
lib/readline/shell.c
@@
-27,6
+27,9
@@
#endif
#if defined (HAVE_UNISTD_H)
#endif
#if defined (HAVE_UNISTD_H)
+# ifdef _MINIX
+# include <sys/types.h>
+# endif
# include <unistd.h>
#endif /* HAVE_UNISTD_H */
# include <unistd.h>
#endif /* HAVE_UNISTD_H */
@@
-36,6
+39,12
@@
# include "ansi_stdlib.h"
#endif /* HAVE_STDLIB_H */
# 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)
extern char *xmalloc (), *xrealloc ();
#if !defined (SHELL)