summaryrefslogtreecommitdiff
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index d9ac83f..c87596f 100644
--- a/ui.c
+++ b/ui.c
@@ -2,6 +2,7 @@
#if __unix__
#include <fcntl.h>
+#include <unistd.h>
#endif
static Status file_selector_cd_(Ted *ted, FileSelector *fs, const char *path, int symlink_depth);