summaryrefslogtreecommitdiff
path: root/readline/examples/rl.c
diff options
context:
space:
mode:
Diffstat (limited to 'readline/examples/rl.c')
-rw-r--r--readline/examples/rl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/readline/examples/rl.c b/readline/examples/rl.c
index 845a4b176d7..a5cf276cb94 100644
--- a/readline/examples/rl.c
+++ b/readline/examples/rl.c
@@ -28,6 +28,7 @@
# include <config.h>
#endif
+#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>