summaryrefslogtreecommitdiffstats
path: root/contrib/libreadline/shell.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-04-28 06:22:20 +0000
committerache <ache@FreeBSD.org>1998-04-28 06:22:20 +0000
commit27ef633cd3f7fd5fb6cb033edd2c1747a6e59acb (patch)
tree6dc2ca04460e2afc2586db7905a62d8345684052 /contrib/libreadline/shell.c
parent53ee3efdd804d38a5c57372c0722804607ceb256 (diff)
downloadFreeBSD-src-27ef633cd3f7fd5fb6cb033edd2c1747a6e59acb.zip
FreeBSD-src-27ef633cd3f7fd5fb6cb033edd2c1747a6e59acb.tar.gz
V2.2 import
Diffstat (limited to 'contrib/libreadline/shell.c')
-rw-r--r--contrib/libreadline/shell.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/libreadline/shell.c b/contrib/libreadline/shell.c
index eb99c72..553f3c1 100644
--- a/contrib/libreadline/shell.c
+++ b/contrib/libreadline/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)
OpenPOWER on IntegriCloud