summaryrefslogtreecommitdiff
path: root/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2004-08-15 18:40:59 +1000
committerDamien Miller <djm@mindrot.org>2004-08-15 18:40:59 +1000
commit36f496502072d82dbb202b41a199eb6032557710 (patch)
tree439092c6479cb2fea8c09318b37a61370d860638 /openbsd-compat/openbsd-compat.h
parent25f60a7ee780c2cd4a01e05698149d274821012f (diff)
- (djm) [acconfig.h configure.ac openbsd-compat/Makefile.in
openbsd-compat/bsd-closefrom.c openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h openbsd-compat/openbsd-compat.h] Use smarter closefrom() replacement from sudo; ok dtucker@
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r--openbsd-compat/openbsd-compat.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index 6be1bcda4..89d1454e0 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -1,4 +1,4 @@
1/* $Id: openbsd-compat.h,v 1.25 2004/01/21 06:07:23 djm Exp $ */ 1/* $Id: openbsd-compat.h,v 1.26 2004/08/15 08:41:00 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1999-2003 Damien Miller. All rights reserved. 4 * Copyright (c) 1999-2003 Damien Miller. All rights reserved.
@@ -48,6 +48,10 @@ char *basename(const char *path);
48int bindresvport_sa(int sd, struct sockaddr *sa); 48int bindresvport_sa(int sd, struct sockaddr *sa);
49#endif 49#endif
50 50
51#ifndef HAVE_CLOSEFROM
52void closefrom(int);
53#endif
54
51#ifndef HAVE_GETCWD 55#ifndef HAVE_GETCWD
52char *getcwd(char *pt, size_t size); 56char *getcwd(char *pt, size_t size);
53#endif 57#endif