summaryrefslogtreecommitdiff
path: root/lib/readline/history.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/readline/history.c')
-rw-r--r--lib/readline/history.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/readline/history.c b/lib/readline/history.c
index fb9d68e7..24c5a49c 100644
--- a/lib/readline/history.c
+++ b/lib/readline/history.c
@@ -38,6 +38,9 @@
#endif /* HAVE_STDLIB_H */
#if defined (HAVE_UNISTD_H)
+# ifdef _MINIX
+# include <sys/types.h>
+# endif
# include <unistd.h>
#endif