From 709d0ce67201e980258c84928fda46edd1c8d38f Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sat, 9 Jan 2010 09:25:54 +1100 Subject: [PATCH] - (dtucker) [defines.h] define PRIu64 for platforms that don't have it. --- ChangeLog | 1 + defines.h | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 79491f54a..65bbdd6bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 20091209 - (dtucker) Wrap use of IPPROTO_IPV6 in an ifdef for platforms that don't have it. + - (dtucker) [defines.h] define PRIu64 for platforms that don't have it. 20091208 - (dtucker) OpenBSD CVS Sync diff --git a/defines.h b/defines.h index 2ddfd96d0..053893ee4 100644 --- a/defines.h +++ b/defines.h @@ -25,7 +25,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.156 2009/08/28 01:21:07 dtucker Exp $ */ +/* $Id: defines.h,v 1.157 2010/01/08 22:25:54 dtucker Exp $ */ /* Constants */ @@ -753,4 +753,8 @@ struct winsize { # define SSH_IOBUFSZ 8192 #endif +#ifndef PRIu64 +# define PRIu64 "llu" +#endif + #endif /* _DEFINES_H */