]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Only include unistd.h once.
authorDarren Tucker <dtucker@dtucker.net>
Thu, 10 Aug 2023 01:30:24 +0000 (11:30 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Thu, 10 Aug 2023 01:30:24 +0000 (11:30 +1000)
openbsd-compat/bsd-closefrom.c

index 704da531fef949c4e8cb28d12b445c37ffbd4d4e..49a4f35ff9c3c5de802995106c3a868e447fb13f 100644 (file)
@@ -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)