summaryrefslogtreecommitdiff
path: root/openbsd-compat/strtonum.c
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 /openbsd-compat/strtonum.c
parentd8aec107fec09a5e943d5ad96d364823b48249d8 (diff)
downloadopenssh-git-8a15f01affbe332970fd8f8b07d3e6d8f7e6acb2.tar.gz
- (dtucker) [openbsd-compat/strtonum.c] Include stdlib.h for strtoll,
otherwise it is implicitly declared as returning an int.
Diffstat (limited to 'openbsd-compat/strtonum.c')
-rw-r--r--openbsd-compat/strtonum.c2
1 files changed, 2 insertions, 0 deletions
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>