diff options
author | Damien Miller <djm@mindrot.org> | 2006-08-05 14:07:20 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-08-05 14:07:20 +1000 |
commit | 75bb664458d5a825824607841819b9a40d9bfdb5 (patch) | |
tree | 66487433e1f482f9ff98977a60fb984900d07671 | |
parent | d04db59ad929d289c2dcaa466989659bbc449f6b (diff) |
- (djm) [auth-pam.c auth-shadow.c auth2-none.c cleanup.c sshd.c]
[openbsd-compat/port-tun.c openbsd-compat/port-tun.h] Sprinkle more
includes for Linux in
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | auth-pam.c | 11 | ||||
-rw-r--r-- | auth-shadow.c | 2 | ||||
-rw-r--r-- | auth2-none.c | 1 | ||||
-rw-r--r-- | cleanup.c | 2 | ||||
-rw-r--r-- | openbsd-compat/port-tun.c | 1 | ||||
-rw-r--r-- | openbsd-compat/port-tun.h | 2 | ||||
-rw-r--r-- | sshd.c | 1 |
8 files changed, 20 insertions, 5 deletions
@@ -93,6 +93,9 @@ | |||
93 | - (djm) [openbsd-compat/regress/snprintftest.c] | 93 | - (djm) [openbsd-compat/regress/snprintftest.c] |
94 | [openbsd-compat/regress/strduptest.c] Add missing includes so they pass | 94 | [openbsd-compat/regress/strduptest.c] Add missing includes so they pass |
95 | compilation with "-Wall -Werror" | 95 | compilation with "-Wall -Werror" |
96 | - (djm) [auth-pam.c auth-shadow.c auth2-none.c cleanup.c sshd.c] | ||
97 | [openbsd-compat/port-tun.c openbsd-compat/port-tun.h] Sprinkle more | ||
98 | includes for Linux in | ||
96 | 99 | ||
97 | 20060804 | 100 | 20060804 |
98 | - (dtucker) [configure.ac] The "crippled AES" test does not work on recent | 101 | - (dtucker) [configure.ac] The "crippled AES" test does not work on recent |
@@ -5163,4 +5166,4 @@ | |||
5163 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 5166 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
5164 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 5167 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
5165 | 5168 | ||
5166 | $Id: ChangeLog,v 1.4457 2006/08/05 03:27:29 djm Exp $ | 5169 | $Id: ChangeLog,v 1.4458 2006/08/05 04:07:20 djm Exp $ |
diff --git a/auth-pam.c b/auth-pam.c index 695198493..8e9361caa 100644 --- a/auth-pam.c +++ b/auth-pam.c | |||
@@ -78,19 +78,24 @@ | |||
78 | # define PAM_MSG_MEMBER(msg, n, member) ((msg)[(n)]->member) | 78 | # define PAM_MSG_MEMBER(msg, n, member) ((msg)[(n)]->member) |
79 | #endif | 79 | #endif |
80 | 80 | ||
81 | #include "xmalloc.h" | ||
82 | #include "buffer.h" | ||
83 | #include "key.h" | ||
84 | #include "hostfile.h" | ||
81 | #include "auth.h" | 85 | #include "auth.h" |
82 | #include "auth-pam.h" | 86 | #include "auth-pam.h" |
83 | #include "buffer.h" | ||
84 | #include "canohost.h" | 87 | #include "canohost.h" |
85 | #include "log.h" | 88 | #include "log.h" |
86 | #include "monitor_wrap.h" | ||
87 | #include "msg.h" | 89 | #include "msg.h" |
88 | #include "packet.h" | 90 | #include "packet.h" |
89 | #include "misc.h" | 91 | #include "misc.h" |
90 | #include "servconf.h" | 92 | #include "servconf.h" |
91 | #include "ssh2.h" | 93 | #include "ssh2.h" |
92 | #include "xmalloc.h" | ||
93 | #include "auth-options.h" | 94 | #include "auth-options.h" |
95 | #ifdef GSSAPI | ||
96 | #include "ssh-gss.h" | ||
97 | #endif | ||
98 | #include "monitor_wrap.h" | ||
94 | 99 | ||
95 | extern ServerOptions options; | 100 | extern ServerOptions options; |
96 | extern Buffer loginmsg; | 101 | extern Buffer loginmsg; |
diff --git a/auth-shadow.c b/auth-shadow.c index 7cd69c21f..52447fe4a 100644 --- a/auth-shadow.c +++ b/auth-shadow.c | |||
@@ -28,6 +28,8 @@ | |||
28 | #include <shadow.h> | 28 | #include <shadow.h> |
29 | #include <string.h> | 29 | #include <string.h> |
30 | 30 | ||
31 | #include "key.h" | ||
32 | #include "hostfile.h" | ||
31 | #include "auth.h" | 33 | #include "auth.h" |
32 | #include "buffer.h" | 34 | #include "buffer.h" |
33 | #include "log.h" | 35 | #include "log.h" |
diff --git a/auth2-none.c b/auth2-none.c index 1e4afa0e7..8cbef5278 100644 --- a/auth2-none.c +++ b/auth2-none.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <sys/stat.h> | 29 | #include <sys/stat.h> |
30 | 30 | ||
31 | #include <fcntl.h> | 31 | #include <fcntl.h> |
32 | #include <unistd.h> | ||
32 | 33 | ||
33 | #include "xmalloc.h" | 34 | #include "xmalloc.h" |
34 | #include "key.h" | 35 | #include "key.h" |
@@ -15,7 +15,7 @@ | |||
15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include "config.h" | 18 | #include "includes.h" |
19 | 19 | ||
20 | #include <sys/types.h> | 20 | #include <sys/types.h> |
21 | 21 | ||
diff --git a/openbsd-compat/port-tun.c b/openbsd-compat/port-tun.c index d2ea03874..3e73d8c0e 100644 --- a/openbsd-compat/port-tun.c +++ b/openbsd-compat/port-tun.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "log.h" | 29 | #include "log.h" |
30 | #include "misc.h" | 30 | #include "misc.h" |
31 | #include "buffer.h" | 31 | #include "buffer.h" |
32 | #include "channels.h" | ||
32 | 33 | ||
33 | /* | 34 | /* |
34 | * This is the portable version of the SSH tunnel forwarding, it | 35 | * This is the portable version of the SSH tunnel forwarding, it |
diff --git a/openbsd-compat/port-tun.h b/openbsd-compat/port-tun.h index 9f7a98614..c53df01fc 100644 --- a/openbsd-compat/port-tun.h +++ b/openbsd-compat/port-tun.h | |||
@@ -17,6 +17,8 @@ | |||
17 | #ifndef _PORT_TUN_H | 17 | #ifndef _PORT_TUN_H |
18 | #define _PORT_TUN_H | 18 | #define _PORT_TUN_H |
19 | 19 | ||
20 | struct Channel; | ||
21 | |||
20 | #if defined(SSH_TUN_LINUX) || defined(SSH_TUN_FREEBSD) | 22 | #if defined(SSH_TUN_LINUX) || defined(SSH_TUN_FREEBSD) |
21 | # define CUSTOM_SYS_TUN_OPEN | 23 | # define CUSTOM_SYS_TUN_OPEN |
22 | int sys_tun_open(int, int); | 24 | int sys_tun_open(int, int); |
@@ -68,6 +68,7 @@ | |||
68 | #include <stdio.h> | 68 | #include <stdio.h> |
69 | #include <stdlib.h> | 69 | #include <stdlib.h> |
70 | #include <string.h> | 70 | #include <string.h> |
71 | #include <unistd.h> | ||
71 | 72 | ||
72 | #include <openssl/dh.h> | 73 | #include <openssl/dh.h> |
73 | #include <openssl/bn.h> | 74 | #include <openssl/bn.h> |