summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2019-11-10 19:46:27 +0100
committerGilles Chehade <gilles@poolp.org>2019-11-10 19:46:27 +0100
commitc925089b9a244f0a4dd87beb4db65e6c328ecbb2 (patch)
tree693d4f0685593801c710aa6a4f752e21f7c828b9
parentconditional getpeereid() (diff)
downloadOpenSMTPD-c925089b9a244f0a4dd87beb4db65e6c328ecbb2.tar.xz
OpenSMTPD-c925089b9a244f0a4dd87beb4db65e6c328ecbb2.zip
closefrom
-rw-r--r--openbsd-compat/closefrom.c (renamed from openbsd-compat/bsd-closefrom.c)4
1 files changed, 1 insertions, 3 deletions
diff --git a/openbsd-compat/bsd-closefrom.c b/openbsd-compat/closefrom.c
index 9380b33a..528949a6 100644
--- a/openbsd-compat/bsd-closefrom.c
+++ b/openbsd-compat/closefrom.c
@@ -16,8 +16,6 @@
#include "includes.h"
-#ifndef HAVE_CLOSEFROM
-
#include <sys/types.h>
#include <sys/param.h>
#include <unistd.h>
@@ -106,4 +104,4 @@ closefrom(int lowfd)
}
}
#endif /* !HAVE_FCNTL_CLOSEM */
-#endif /* HAVE_CLOSEFROM */
+