diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-06-25 06:03:34 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-06-25 06:03:34 +0200 |
commit | 60bd4098f64fd0fbbd9b6b4de2562623318141a0 (patch) | |
tree | 7dc6caa88aa1c03ed6a760855c48f24a0c5570cb /openbsd-compat/bsd-misc.h | |
parent | - djm@cvs.openbsd.org 2004/06/25 01:25:12 (diff) | |
download | openssh-60bd4098f64fd0fbbd9b6b4de2562623318141a0.tar.xz openssh-60bd4098f64fd0fbbd9b6b4de2562623318141a0.zip |
- (dtucker) [configure.ac openbsd-compat/misc.c [openbsd-compat/misc.h]
Add closefrom() for platforms that don't have it.
(might need some tuning later, but I want to be able to test reexec).
Diffstat (limited to 'openbsd-compat/bsd-misc.h')
-rw-r--r-- | openbsd-compat/bsd-misc.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index 009739b14..7027815d6 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h @@ -1,4 +1,4 @@ -/* $Id: bsd-misc.h,v 1.15 2004/03/08 11:59:03 dtucker Exp $ */ +/* $Id: bsd-misc.h,v 1.16 2004/06/25 04:03:34 dtucker Exp $ */ /* * Copyright (c) 1999-2004 Damien Miller <djm@mindrot.org> @@ -93,6 +93,10 @@ int tcsendbreak(int, int); void unsetenv(const char *); #endif +#ifndef HAVE_CLOSEFROM +int closefrom(int); +#endif + /* wrapper for signal interface */ typedef void (*mysig_t)(int); mysig_t mysignal(int sig, mysig_t act); |