diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | configure.ac | 9 | ||||
-rw-r--r-- | defines.h | 10 |
3 files changed, 18 insertions, 3 deletions
@@ -4,6 +4,8 @@ | |||
4 | a no-op in OpenSSH). From chl at openbsd. | 4 | a no-op in OpenSSH). From chl at openbsd. |
5 | - (dtucker) [openbsd-compat/setproctitle.c] Handle error case form the 2nd | 5 | - (dtucker) [openbsd-compat/setproctitle.c] Handle error case form the 2nd |
6 | vsnprintf. From eric at openbsd via chl@. | 6 | vsnprintf. From eric at openbsd via chl@. |
7 | - (dtucker) [configure.ac defines.h] Add typedefs for intmax_t and uintmax_t | ||
8 | for platforms that don't have them. | ||
7 | 9 | ||
8 | 20131030 | 10 | 20131030 |
9 | - (djm) OpenBSD CVS Sync | 11 | - (djm) OpenBSD CVS Sync |
diff --git a/configure.ac b/configure.ac index 4a1b50331..0611b71b9 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.536 2013/08/04 11:48:41 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.537 2013/11/03 07:43:55 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 | ||
17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) | 17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) |
18 | AC_REVISION($Revision: 1.536 $) | 18 | AC_REVISION($Revision: 1.537 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | AC_LANG([C]) | 20 | AC_LANG([C]) |
21 | 21 | ||
@@ -3137,6 +3137,11 @@ if test "x$ac_cv_have_u_char" = "xyes" ; then | |||
3137 | AC_DEFINE([HAVE_U_CHAR], [1], [define if you have u_char data type]) | 3137 | AC_DEFINE([HAVE_U_CHAR], [1], [define if you have u_char data type]) |
3138 | fi | 3138 | fi |
3139 | 3139 | ||
3140 | AC_CHECK_TYPES([intmax_t, uintmax_t], , , [ | ||
3141 | #include <sys/types.h> | ||
3142 | #include <stdint.h> | ||
3143 | ]) | ||
3144 | |||
3140 | TYPE_SOCKLEN_T | 3145 | TYPE_SOCKLEN_T |
3141 | 3146 | ||
3142 | AC_CHECK_TYPES([sig_atomic_t], , , [#include <signal.h>]) | 3147 | AC_CHECK_TYPES([sig_atomic_t], , , [#include <signal.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.172 2013/06/01 21:18:48 dtucker Exp $ */ | 28 | /* $Id: defines.h,v 1.173 2013/11/03 07:43:55 dtucker Exp $ */ |
29 | 29 | ||
30 | 30 | ||
31 | /* Constants */ | 31 | /* Constants */ |
@@ -269,6 +269,14 @@ typedef unsigned long long int u_int64_t; | |||
269 | # endif | 269 | # endif |
270 | #endif | 270 | #endif |
271 | 271 | ||
272 | #ifndef HAVE_INTMAX_T | ||
273 | typedef long long intmax_t; | ||
274 | #endif | ||
275 | |||
276 | #ifndef HAVE_UINTMAX_T | ||
277 | typedef unsigned long long uintmax_t; | ||
278 | #endif | ||
279 | |||
272 | #ifndef HAVE_U_CHAR | 280 | #ifndef HAVE_U_CHAR |
273 | typedef unsigned char u_char; | 281 | typedef unsigned char u_char; |
274 | # define HAVE_U_CHAR | 282 | # define HAVE_U_CHAR |