summaryrefslogtreecommitdiff
path: root/source4/lib/cmdline/readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/cmdline/readline.c')
-rw-r--r--source4/lib/cmdline/readline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/cmdline/readline.c b/source4/lib/cmdline/readline.c
index 83d476b0d1..8836759f70 100644
--- a/source4/lib/cmdline/readline.c
+++ b/source4/lib/cmdline/readline.c
@@ -21,6 +21,8 @@
#include "includes.h"
+#include <unistd.h>
+
#ifdef HAVE_LIBREADLINE
# ifdef HAVE_READLINE_READLINE_H
# include <readline/readline.h>