diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | loginrec.c | 1 | ||||
-rw-r--r-- | openbsd-compat/bindresvport.c | 2 | ||||
-rw-r--r-- | openbsd-compat/glob.c | 2 | ||||
-rw-r--r-- | openbsd-compat/mktemp.c | 2 | ||||
-rw-r--r-- | openbsd-compat/port-tun.c | 1 | ||||
-rw-r--r-- | openbsd-compat/readpassphrase.c | 1 | ||||
-rw-r--r-- | openbsd-compat/strtonum.c | 1 |
8 files changed, 14 insertions, 2 deletions
@@ -55,7 +55,9 @@ | |||
55 | will allow port forwarding by all users except "anoncvs". | 55 | will allow port forwarding by all users except "anoncvs". |
56 | Currently only a very small subset of directives are supported. | 56 | Currently only a very small subset of directives are supported. |
57 | ok djm@ | 57 | ok djm@ |
58 | - (dtucker) [openbsd-compat/xmmap.c] Include <errno.h>. | 58 | - (dtucker) [loginrec.c openbsd-compat/xmmap.c openbsd-compat/bindresvport.c |
59 | openbsd-compat/glob.c openbsd-compat/mktemp.c openbsd-compat/port-tun.c | ||
60 | openbsd-compat/readpassphrase.c openbsd-compat/strtonum.c] Include <errno.h>. | ||
59 | 61 | ||
60 | 20060711 | 62 | 20060711 |
61 | - (dtucker) [configure.ac ssh-keygen.c openbsd-compat/bsd-openpty.c | 63 | - (dtucker) [configure.ac ssh-keygen.c openbsd-compat/bsd-openpty.c |
@@ -4905,4 +4907,4 @@ | |||
4905 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 4907 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
4906 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 4908 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
4907 | 4909 | ||
4908 | $Id: ChangeLog,v 1.4401 2006/07/12 12:35:51 dtucker Exp $ | 4910 | $Id: ChangeLog,v 1.4402 2006/07/12 12:40:50 dtucker Exp $ |
diff --git a/loginrec.c b/loginrec.c index a27a3ae61..8299b79e4 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -153,6 +153,7 @@ | |||
153 | 153 | ||
154 | #include <netinet/in.h> | 154 | #include <netinet/in.h> |
155 | 155 | ||
156 | #include <errno.h> | ||
156 | #include <fcntl.h> | 157 | #include <fcntl.h> |
157 | #include <pwd.h> | 158 | #include <pwd.h> |
158 | 159 | ||
diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c index 7f48fd03a..2c16233c9 100644 --- a/openbsd-compat/bindresvport.c +++ b/openbsd-compat/bindresvport.c | |||
@@ -36,6 +36,8 @@ | |||
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | 38 | ||
39 | #include <errno.h> | ||
40 | |||
39 | #define STARTPORT 600 | 41 | #define STARTPORT 600 |
40 | #define ENDPORT (IPPORT_RESERVED - 1) | 42 | #define ENDPORT (IPPORT_RESERVED - 1) |
41 | #define NPORTS (ENDPORT - STARTPORT + 1) | 43 | #define NPORTS (ENDPORT - STARTPORT + 1) |
diff --git a/openbsd-compat/glob.c b/openbsd-compat/glob.c index 439d2f50d..bba4c0976 100644 --- a/openbsd-compat/glob.c +++ b/openbsd-compat/glob.c | |||
@@ -34,10 +34,12 @@ | |||
34 | /* OPENBSD ORIGINAL: lib/libc/gen/glob.c */ | 34 | /* OPENBSD ORIGINAL: lib/libc/gen/glob.c */ |
35 | 35 | ||
36 | #include "includes.h" | 36 | #include "includes.h" |
37 | |||
37 | #include <sys/types.h> | 38 | #include <sys/types.h> |
38 | #include <sys/stat.h> | 39 | #include <sys/stat.h> |
39 | #include <dirent.h> | 40 | #include <dirent.h> |
40 | #include <ctype.h> | 41 | #include <ctype.h> |
42 | #include <errno.h> | ||
41 | #include <pwd.h> | 43 | #include <pwd.h> |
42 | 44 | ||
43 | static long | 45 | static long |
diff --git a/openbsd-compat/mktemp.c b/openbsd-compat/mktemp.c index 75a339156..b8b0793a6 100644 --- a/openbsd-compat/mktemp.c +++ b/openbsd-compat/mktemp.c | |||
@@ -37,8 +37,10 @@ | |||
37 | 37 | ||
38 | #include <sys/types.h> | 38 | #include <sys/types.h> |
39 | #include <sys/stat.h> | 39 | #include <sys/stat.h> |
40 | |||
40 | #include <fcntl.h> | 41 | #include <fcntl.h> |
41 | #include <ctype.h> | 42 | #include <ctype.h> |
43 | #include <errno.h> | ||
42 | 44 | ||
43 | #if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) | 45 | #if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) |
44 | 46 | ||
diff --git a/openbsd-compat/port-tun.c b/openbsd-compat/port-tun.c index bee6b160c..9806eec7d 100644 --- a/openbsd-compat/port-tun.c +++ b/openbsd-compat/port-tun.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <netinet/in.h> | 21 | #include <netinet/in.h> |
22 | #include <netinet/ip.h> | 22 | #include <netinet/ip.h> |
23 | 23 | ||
24 | #include <errno.h> | ||
24 | #include <fcntl.h> | 25 | #include <fcntl.h> |
25 | 26 | ||
26 | #include "log.h" | 27 | #include "log.h" |
diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c index 95c0af815..fd9731ac6 100644 --- a/openbsd-compat/readpassphrase.c +++ b/openbsd-compat/readpassphrase.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <ctype.h> | 31 | #include <ctype.h> |
32 | #include <fcntl.h> | 32 | #include <fcntl.h> |
33 | #include <readpassphrase.h> | 33 | #include <readpassphrase.h> |
34 | #include <errno.h> | ||
34 | 35 | ||
35 | #ifdef TCSASOFT | 36 | #ifdef TCSASOFT |
36 | # define _T_FLUSH (TCSAFLUSH|TCSASOFT) | 37 | # define _T_FLUSH (TCSAFLUSH|TCSASOFT) |
diff --git a/openbsd-compat/strtonum.c b/openbsd-compat/strtonum.c index 8ad0d0058..35c5c18b9 100644 --- a/openbsd-compat/strtonum.c +++ b/openbsd-compat/strtonum.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include "includes.h" | 22 | #include "includes.h" |
23 | #ifndef HAVE_STRTONUM | 23 | #ifndef HAVE_STRTONUM |
24 | #include <limits.h> | 24 | #include <limits.h> |
25 | #include <errno.h> | ||
25 | 26 | ||
26 | #define INVALID 1 | 27 | #define INVALID 1 |
27 | #define TOOSMALL 2 | 28 | #define TOOSMALL 2 |