summaryrefslogtreecommitdiff
path: root/readline/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'readline/shell.c')
-rw-r--r--readline/shell.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/readline/shell.c b/readline/shell.c
index 091ec08f645..4d9e0064d3f 100644
--- a/readline/shell.c
+++ b/readline/shell.c
@@ -38,6 +38,10 @@
# include "ansi_stdlib.h"
#endif /* HAVE_STDLIB_H */
+#if defined (HAVE_STDIO_H)
+# include <stdio.h>
+#endif /* HAVE_STDIO_H */
+
#if defined (HAVE_STRING_H)
# include <string.h>
#else