summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-08-05 16:27:20 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-08-05 16:27:20 +1000
commit8a15f01affbe332970fd8f8b07d3e6d8f7e6acb2 (patch)
tree320ab7cac5fdef3fc47d3a0704caa359c2298df1
parentd8aec107fec09a5e943d5ad96d364823b48249d8 (diff)
- (dtucker) [openbsd-compat/strtonum.c] Include stdlib.h for strtoll,
otherwise it is implicitly declared as returning an int.
-rw-r--r--ChangeLog4
-rw-r--r--openbsd-compat/strtonum.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 942884818..959211fb6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -103,6 +103,8 @@
103 - (dtucker) [entropy.c] Needs unistd.h too. 103 - (dtucker) [entropy.c] Needs unistd.h too.
104 - (dtucker) [ssh-rand-helper.c] Needs stdarg.h for log.h. 104 - (dtucker) [ssh-rand-helper.c] Needs stdarg.h for log.h.
105 - (dtucker) [openbsd-compat/getrrsetbyname.c] Nees stdlib.h for malloc. 105 - (dtucker) [openbsd-compat/getrrsetbyname.c] Nees stdlib.h for malloc.
106 - (dtucker) [openbsd-compat/strtonum.c] Include stdlib.h for strtoll,
107 otherwise it is implicitly declared as returning an int.
106 108
10720060804 10920060804
108 - (dtucker) [configure.ac] The "crippled AES" test does not work on recent 110 - (dtucker) [configure.ac] The "crippled AES" test does not work on recent
@@ -5173,4 +5175,4 @@
5173 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 5175 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
5174 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 5176 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
5175 5177
5176$Id: ChangeLog,v 1.4464 2006/08/05 06:12:15 dtucker Exp $ 5178$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 @@
20/* OPENBSD ORIGINAL: lib/libc/stdlib/strtonum.c */ 20/* OPENBSD ORIGINAL: lib/libc/stdlib/strtonum.c */
21 21
22#include "includes.h" 22#include "includes.h"
23
23#ifndef HAVE_STRTONUM 24#ifndef HAVE_STRTONUM
25#include <stdlib.h>
24#include <limits.h> 26#include <limits.h>
25#include <errno.h> 27#include <errno.h>
26 28