summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--configure.ac6
-rw-r--r--defines.h5
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 410c766af..eadd0f7d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
5 - (dtucker) [schnorr.c openbsd-compat/openssl-compat.{c,h}] Add 5 - (dtucker) [schnorr.c openbsd-compat/openssl-compat.{c,h}] Add
6 EVP_DigestUpdate to the OLD_EVP compatibility functions and tell schnorr.c 6 EVP_DigestUpdate to the OLD_EVP compatibility functions and tell schnorr.c
7 to use them. Allows building with older OpenSSL versions. 7 to use them. Allows building with older OpenSSL versions.
8 - (dtucker) [configure.ac defines.h] Check for in_port_t and typedef if needed.
8 9
920090306 1020090306
10 - (djm) OpenBSD CVS Sync 11 - (djm) OpenBSD CVS Sync
diff --git a/configure.ac b/configure.ac
index b33914dae..0ec8a1980 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.415 2009/02/16 04:37:03 djm Exp $ 1# $Id: configure.ac,v 1.416 2009/03/07 01:32:22 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.415 $) 18AC_REVISION($Revision: 1.416 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20 20
21AC_CONFIG_HEADER(config.h) 21AC_CONFIG_HEADER(config.h)
@@ -2694,7 +2694,7 @@ AC_CHECK_TYPES([fsblkcnt_t, fsfilcnt_t],,,[
2694#endif 2694#endif
2695]) 2695])
2696 2696
2697AC_CHECK_TYPES(in_addr_t,,, 2697AC_CHECK_TYPES([in_addr_t in_port_t],,,
2698[#include <sys/types.h> 2698[#include <sys/types.h>
2699#include <netinet/in.h>]) 2699#include <netinet/in.h>])
2700 2700
diff --git a/defines.h b/defines.h
index 536ec4978..457b6a35e 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
25#ifndef _DEFINES_H 25#ifndef _DEFINES_H
26#define _DEFINES_H 26#define _DEFINES_H
27 27
28/* $Id: defines.h,v 1.153 2009/02/01 11:19:54 dtucker Exp $ */ 28/* $Id: defines.h,v 1.154 2009/03/07 01:32:22 dtucker Exp $ */
29 29
30 30
31/* Constants */ 31/* Constants */
@@ -300,6 +300,9 @@ struct sockaddr_un {
300#ifndef HAVE_IN_ADDR_T 300#ifndef HAVE_IN_ADDR_T
301typedef u_int32_t in_addr_t; 301typedef u_int32_t in_addr_t;
302#endif 302#endif
303#ifndef HAVE_IN_PORT_T
304typedef u_int16_t in_port_t;
305#endif
303 306
304#if defined(BROKEN_SYS_TERMIO_H) && !defined(_STRUCT_WINSIZE) 307#if defined(BROKEN_SYS_TERMIO_H) && !defined(_STRUCT_WINSIZE)
305#define _STRUCT_WINSIZE 308#define _STRUCT_WINSIZE