From 2c1a02a8d03069163d8cae21484f4e5656e904fe Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Wed, 12 Jul 2006 22:40:50 +1000 Subject: - (dtucker) [loginrec.c openbsd-compat/xmmap.c openbsd-compat/bindresvport.c openbsd-compat/glob.c openbsd-compat/mktemp.c openbsd-compat/port-tun.c openbsd-compat/readpassphrase.c openbsd-compat/strtonum.c] Include . --- openbsd-compat/strtonum.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsd-compat/strtonum.c') diff --git a/openbsd-compat/strtonum.c b/openbsd-compat/strtonum.c index 8ad0d0058..35c5c18b9 100644 --- a/openbsd-compat/strtonum.c +++ b/openbsd-compat/strtonum.c @@ -22,6 +22,7 @@ #include "includes.h" #ifndef HAVE_STRTONUM #include +#include #define INVALID 1 #define TOOSMALL 2 -- cgit v1.2.3 From 8a15f01affbe332970fd8f8b07d3e6d8f7e6acb2 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sat, 5 Aug 2006 16:27:20 +1000 Subject: - (dtucker) [openbsd-compat/strtonum.c] Include stdlib.h for strtoll, otherwise it is implicitly declared as returning an int. --- ChangeLog | 4 +++- openbsd-compat/strtonum.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'openbsd-compat/strtonum.c') diff --git a/ChangeLog b/ChangeLog index 942884818..959211fb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -103,6 +103,8 @@ - (dtucker) [entropy.c] Needs unistd.h too. - (dtucker) [ssh-rand-helper.c] Needs stdarg.h for log.h. - (dtucker) [openbsd-compat/getrrsetbyname.c] Nees stdlib.h for malloc. + - (dtucker) [openbsd-compat/strtonum.c] Include stdlib.h for strtoll, + otherwise it is implicitly declared as returning an int. 20060804 - (dtucker) [configure.ac] The "crippled AES" test does not work on recent @@ -5173,4 +5175,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.4464 2006/08/05 06:12:15 dtucker Exp $ +$Id: ChangeLog,v 1.4465 2006/08/05 06:27:20 dtucker Exp $ diff --git a/openbsd-compat/strtonum.c b/openbsd-compat/strtonum.c index 35c5c18b9..87f2f24b2 100644 --- a/openbsd-compat/strtonum.c +++ b/openbsd-compat/strtonum.c @@ -20,7 +20,9 @@ /* OPENBSD ORIGINAL: lib/libc/stdlib/strtonum.c */ #include "includes.h" + #ifndef HAVE_STRTONUM +#include #include #include -- cgit v1.2.3