diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
commit | 1b816ea846aca3ee89e7995373ace609e9518424 (patch) | |
tree | b41cdc8495cae7fa9c2e0f98a5f2e71656b61f9a /openbsd-compat/strtonum.c | |
parent | fa585019a79ebcb4e0202b1c33f87ff1c5c9ce1c (diff) | |
parent | 086ea76990b1e6287c24b6db74adffd4605eb3b0 (diff) |
import openssh-4.6p1-gsskex-20070312.patch
Diffstat (limited to 'openbsd-compat/strtonum.c')
-rw-r--r-- | openbsd-compat/strtonum.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/strtonum.c b/openbsd-compat/strtonum.c index 8ad0d0058..87f2f24b2 100644 --- a/openbsd-compat/strtonum.c +++ b/openbsd-compat/strtonum.c | |||
@@ -20,8 +20,11 @@ | |||
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> |
27 | #include <errno.h> | ||
25 | 28 | ||
26 | #define INVALID 1 | 29 | #define INVALID 1 |
27 | #define TOOSMALL 2 | 30 | #define TOOSMALL 2 |