summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2009-10-07 15:49:48 +1100
committerDarren Tucker <dtucker@zip.com.au>2009-10-07 15:49:48 +1100
commit4adeac764e110e12ab481dc72c7c67dbf4b7110a (patch)
treed2d76aea4f5e848747bb1a747adc028bf02baef2
parenta25ab018459dc366061ac98086705c561b856a19 (diff)
- (dtucker) [configure.ac sftp-client.c] DOTTIF is in fs/ffs/dir.h on at
least dragonflybsd.
-rw-r--r--ChangeLog2
-rw-r--r--configure.ac11
-rw-r--r--sftp-client.c3
3 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e6a21cf7a..3a7315b25 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -117,6 +117,8 @@
117 [regress/ssh2putty.sh] 117 [regress/ssh2putty.sh]
118 Add OpenBSD tag to make syncs easier 118 Add OpenBSD tag to make syncs easier
119 - (dtucker) [regress/portnum.sh] Import new test. 119 - (dtucker) [regress/portnum.sh] Import new test.
120 - (dtucker) [configure.ac sftp-client.c] DOTTIF is in fs/ffs/dir.h on at
121 least dragonflybsd.
120 122
12120091002 12320091002
122 - (djm) [Makefile.in] Mention readconf.o in ssh-keysign's make deps. 124 - (djm) [Makefile.in] Mention readconf.o in ssh-keysign's make deps.
diff --git a/configure.ac b/configure.ac
index ea9f1bb56..759047f10 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.427 2009/09/11 04:56:08 dtucker Exp $ 1# $Id: configure.ac,v 1.428 2009/10/07 04:49:48 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -15,7 +15,7 @@
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 16
17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) 17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
18AC_REVISION($Revision: 1.427 $) 18AC_REVISION($Revision: 1.428 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20 20
21AC_CONFIG_HEADER(config.h) 21AC_CONFIG_HEADER(config.h)
@@ -1130,6 +1130,13 @@ int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
1130 ] 1130 ]
1131) 1131)
1132 1132
1133AC_CHECK_DECL(DTTOIF,
1134 AC_DEFINE(DTTOIF_IN_FS_FFS_DIR_H, 1 , [DTTOIF macro in fs/ffs/dir.h]), ,
1135 [
1136#include <sys/types.h>
1137#include <fs/ffs/dir.h>
1138 ])
1139
1133AC_MSG_CHECKING([for /proc/pid/fd directory]) 1140AC_MSG_CHECKING([for /proc/pid/fd directory])
1134if test -d "/proc/$$/fd" ; then 1141if test -d "/proc/$$/fd" ; then
1135 AC_DEFINE(HAVE_PROC_PID, 1, [Define if you have /proc/$pid/fd]) 1142 AC_DEFINE(HAVE_PROC_PID, 1, [Define if you have /proc/$pid/fd])
diff --git a/sftp-client.c b/sftp-client.c
index cc4a5b15b..b49e81b91 100644
--- a/sftp-client.c
+++ b/sftp-client.c
@@ -37,6 +37,9 @@
37#include <sys/uio.h> 37#include <sys/uio.h>
38 38
39#include <dirent.h> 39#include <dirent.h>
40#ifdef DTTOIF_IN_FS_FFS_DIR_H
41# include <fs/ffs/dir.h>
42#endif
40#include <errno.h> 43#include <errno.h>
41#include <fcntl.h> 44#include <fcntl.h>
42#include <signal.h> 45#include <signal.h>