diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-08-05 16:27:20 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-08-05 16:27:20 +1000 |
commit | 8a15f01affbe332970fd8f8b07d3e6d8f7e6acb2 (patch) | |
tree | 320ab7cac5fdef3fc47d3a0704caa359c2298df1 | |
parent | d8aec107fec09a5e943d5ad96d364823b48249d8 (diff) |
- (dtucker) [openbsd-compat/strtonum.c] Include stdlib.h for strtoll,
otherwise it is implicitly declared as returning an int.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | openbsd-compat/strtonum.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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 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 <stdlib.h> #include <limits.h> #include <errno.h> |