summaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-11-23 18:47:16 -0500
committerChet Ramey <chet.ramey@case.edu>2011-11-23 18:47:16 -0500
commitdb4c00d880b67af735af9b18835ae900f5be9e53 (patch)
tree8dfe99254425c933b2b9024e06faa506f3640359 /shell.c
parentfe34a312c8be645944828402351bd1192972586b (diff)
downloadreadline-db4c00d880b67af735af9b18835ae900f5be9e53.tar.gz
Readline-2.2 import
Diffstat (limited to 'shell.c')
-rw-r--r--shell.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell.c b/shell.c
index eb99c72..553f3c1 100644
--- a/shell.c
+++ b/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)