aboutsummaryrefslogtreecommitdiffstats
path: root/getpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'getpass.c')
-rw-r--r--getpass.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/getpass.c b/getpass.c
index ae639328..e67ba670 100644
--- a/getpass.c
+++ b/getpass.c
@@ -13,6 +13,10 @@
#include <config.h>
#include <stdio.h>
#include <signal.h>
+#include <fcntl.h>
+#if defined(HAVE_UNISTD_H)
+#include <unistd.h>
+#endif
extern int optind;