From 5946a69f3e4478db38b299748fbdfb41120d6e30 Mon Sep 17 00:00:00 2001 From: dtucker Date: Sat, 5 Aug 2006 06:27:20 +0000 Subject: [PATCH] - (dtucker) [openbsd-compat/strtonum.c] Include stdlib.h for strtoll, otherwise it is implicitly declared as returning an int. --- ChangeLog | 2 ++ openbsd-compat/strtonum.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7d7c32dc..a901e897 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 diff --git a/openbsd-compat/strtonum.c b/openbsd-compat/strtonum.c index 35c5c18b..87f2f24b 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 -- 2.45.2