summaryrefslogtreecommitdiffstats
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2023-08-10 03:30:24 +0200
committerDarren Tucker <dtucker@dtucker.net>2023-08-10 03:30:24 +0200
commit58ca4f0aa8c4306ac0a629c9a85fb1efaf4ff092 (patch)
tree58ae8360c0adf2c715d894f2ca891f30cacbbd46 /openbsd-compat
parentwrap poll.h include in HAVE_POLL_H (diff)
downloadopenssh-58ca4f0aa8c4306ac0a629c9a85fb1efaf4ff092.tar.xz
openssh-58ca4f0aa8c4306ac0a629c9a85fb1efaf4ff092.zip
Only include unistd.h once.
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/bsd-closefrom.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-closefrom.c b/openbsd-compat/bsd-closefrom.c
index 704da531f..49a4f35ff 100644
--- a/openbsd-compat/bsd-closefrom.c
+++ b/openbsd-compat/bsd-closefrom.c
@@ -28,7 +28,6 @@
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
-#include <unistd.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
# define NAMLEN(dirent) strlen((dirent)->d_name)