summaryrefslogtreecommitdiffstats
path: root/sftp-common.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-01-23 23:55:16 +0100
committerDarren Tucker <dtucker@dtucker.net>2019-01-24 00:07:03 +0100
commit5cb503dff4db251520e8bf7d23b9c97c06eee031 (patch)
tree0fba8085b8df9c58048b481f0a2c998b44229c8a /sftp-common.c
parentAlso undef SIMPLEQ_FOREACH_SAFE. (diff)
downloadopenssh-5cb503dff4db251520e8bf7d23b9c97c06eee031.tar.xz
openssh-5cb503dff4db251520e8bf7d23b9c97c06eee031.zip
Include unistd.h for strmode().
Diffstat (limited to 'sftp-common.c')
-rw-r--r--sftp-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sftp-common.c b/sftp-common.c
index 5d743d3b2..677f27d63 100644
--- a/sftp-common.c
+++ b/sftp-common.c
@@ -36,6 +36,7 @@
#include <string.h>
#include <time.h>
#include <stdarg.h>
+#include <unistd.h>
#ifdef HAVE_UTIL_H
#include <util.h>
#endif