- (dtucker) [configure.ac sftp-client.c] DOTTIF is in fs/ffs/dir.h on at

least dragonflybsd.
This commit is contained in:
Darren Tucker 2009-10-07 15:49:48 +11:00
parent a25ab01845
commit 4adeac764e
3 changed files with 14 additions and 2 deletions

View File

@ -117,6 +117,8 @@
[regress/ssh2putty.sh]
Add OpenBSD tag to make syncs easier
- (dtucker) [regress/portnum.sh] Import new test.
- (dtucker) [configure.ac sftp-client.c] DOTTIF is in fs/ffs/dir.h on at
least dragonflybsd.
20091002
- (djm) [Makefile.in] Mention readconf.o in ssh-keysign's make deps.

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.427 2009/09/11 04:56:08 dtucker Exp $
# $Id: configure.ac,v 1.428 2009/10/07 04:49:48 dtucker Exp $
#
# Copyright (c) 1999-2004 Damien Miller
#
@ -15,7 +15,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
AC_REVISION($Revision: 1.427 $)
AC_REVISION($Revision: 1.428 $)
AC_CONFIG_SRCDIR([ssh.c])
AC_CONFIG_HEADER(config.h)
@ -1130,6 +1130,13 @@ int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
]
)
AC_CHECK_DECL(DTTOIF,
AC_DEFINE(DTTOIF_IN_FS_FFS_DIR_H, 1 , [DTTOIF macro in fs/ffs/dir.h]), ,
[
#include <sys/types.h>
#include <fs/ffs/dir.h>
])
AC_MSG_CHECKING([for /proc/pid/fd directory])
if test -d "/proc/$$/fd" ; then
AC_DEFINE(HAVE_PROC_PID, 1, [Define if you have /proc/$pid/fd])

View File

@ -37,6 +37,9 @@
#include <sys/uio.h>
#include <dirent.h>
#ifdef DTTOIF_IN_FS_FFS_DIR_H
# include <fs/ffs/dir.h>
#endif
#include <errno.h>
#include <fcntl.h>
#include <signal.h>