diff options
author | Damien Miller <djm@mindrot.org> | 2006-08-05 11:02:17 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-08-05 11:02:17 +1000 |
commit | 8dbffe7904c4e28b7a741064a468f1cd98c0ad81 (patch) | |
tree | 1fc1df550e901fce4daf022648e100275fe0ea44 | |
parent | 9aec91948d134745c29ff63d32d46ac2c367306a (diff) |
- stevesk@cvs.openbsd.org 2006/07/26 02:35:17
[atomicio.c auth.c dh.c authfile.c buffer.c clientloop.c kex.c]
[groupaccess.c gss-genr.c kexgexs.c misc.c monitor.c monitor_mm.c]
[packet.c scp.c serverloop.c session.c sftp-client.c sftp-common.c]
[sftp-server.c sftp.c ssh-add.c ssh-agent.c ssh-keygen.c sshlogin.c]
[uidswap.c xmalloc.c]
move #include <sys/param.h> out of includes.h
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | atomicio.c | 4 | ||||
-rw-r--r-- | auth.c | 3 | ||||
-rw-r--r-- | authfile.c | 3 | ||||
-rw-r--r-- | buffer.c | 4 | ||||
-rw-r--r-- | clientloop.c | 3 | ||||
-rw-r--r-- | dh.c | 4 | ||||
-rw-r--r-- | groupaccess.c | 3 | ||||
-rw-r--r-- | gss-genr.c | 4 | ||||
-rw-r--r-- | includes.h | 1 | ||||
-rw-r--r-- | kex.c | 4 | ||||
-rw-r--r-- | kexgexs.c | 4 | ||||
-rw-r--r-- | misc.c | 3 | ||||
-rw-r--r-- | monitor.c | 3 | ||||
-rw-r--r-- | monitor_mm.c | 9 | ||||
-rw-r--r-- | packet.c | 3 | ||||
-rw-r--r-- | scp.c | 3 | ||||
-rw-r--r-- | serverloop.c | 3 | ||||
-rw-r--r-- | session.c | 5 | ||||
-rw-r--r-- | sftp-client.c | 3 | ||||
-rw-r--r-- | sftp-common.c | 3 | ||||
-rw-r--r-- | sftp-server.c | 3 | ||||
-rw-r--r-- | sftp.c | 3 | ||||
-rw-r--r-- | ssh-add.c | 3 | ||||
-rw-r--r-- | ssh-agent.c | 5 | ||||
-rw-r--r-- | ssh-keygen.c | 3 | ||||
-rw-r--r-- | sshlogin.c | 3 | ||||
-rw-r--r-- | uidswap.c | 3 | ||||
-rw-r--r-- | xmalloc.c | 4 |
29 files changed, 74 insertions, 34 deletions
@@ -11,6 +11,13 @@ | |||
11 | [channels.c clientloop.c packet.c scp.c serverloop.c sftp-client.c] | 11 | [channels.c clientloop.c packet.c scp.c serverloop.c sftp-client.c] |
12 | [sftp-server.c ssh-agent.c ssh-keyscan.c sshconnect.c sshd.c] | 12 | [sftp-server.c ssh-agent.c ssh-keyscan.c sshconnect.c sshd.c] |
13 | move #include <sys/time.h> out of includes.h | 13 | move #include <sys/time.h> out of includes.h |
14 | - stevesk@cvs.openbsd.org 2006/07/26 02:35:17 | ||
15 | [atomicio.c auth.c dh.c authfile.c buffer.c clientloop.c kex.c] | ||
16 | [groupaccess.c gss-genr.c kexgexs.c misc.c monitor.c monitor_mm.c] | ||
17 | [packet.c scp.c serverloop.c session.c sftp-client.c sftp-common.c] | ||
18 | [sftp-server.c sftp.c ssh-add.c ssh-agent.c ssh-keygen.c sshlogin.c] | ||
19 | [uidswap.c xmalloc.c] | ||
20 | move #include <sys/param.h> out of includes.h | ||
14 | 21 | ||
15 | 20060804 | 22 | 20060804 |
16 | - (dtucker) [configure.ac] The "crippled AES" test does not work on recent | 23 | - (dtucker) [configure.ac] The "crippled AES" test does not work on recent |
@@ -5081,4 +5088,4 @@ | |||
5081 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 5088 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
5082 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 5089 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
5083 | 5090 | ||
5084 | $Id: ChangeLog,v 1.4444 2006/08/05 00:57:45 djm Exp $ | 5091 | $Id: ChangeLog,v 1.4445 2006/08/05 01:02:17 djm Exp $ |
diff --git a/atomicio.c b/atomicio.c index 009ce1d11..4ff990fd3 100644 --- a/atomicio.c +++ b/atomicio.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: atomicio.c,v 1.21 2006/07/22 20:48:22 stevesk Exp $ */ | 1 | /* $OpenBSD: atomicio.c,v 1.22 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2006 Damien Miller. All rights reserved. | 3 | * Copyright (c) 2006 Damien Miller. All rights reserved. |
4 | * Copyright (c) 2005 Anil Madhavapeddy. All rights reserved. | 4 | * Copyright (c) 2005 Anil Madhavapeddy. All rights reserved. |
@@ -28,6 +28,8 @@ | |||
28 | 28 | ||
29 | #include "includes.h" | 29 | #include "includes.h" |
30 | 30 | ||
31 | #include <sys/param.h> | ||
32 | |||
31 | #include <errno.h> | 33 | #include <errno.h> |
32 | #include <string.h> | 34 | #include <string.h> |
33 | 35 | ||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth.c,v 1.72 2006/07/22 20:48:22 stevesk Exp $ */ | 1 | /* $OpenBSD: auth.c,v 1.73 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | #include <sys/types.h> | 28 | #include <sys/types.h> |
29 | #include <sys/stat.h> | 29 | #include <sys/stat.h> |
30 | #include <sys/param.h> | ||
30 | 31 | ||
31 | #include <errno.h> | 32 | #include <errno.h> |
32 | #ifdef HAVE_PATHS_H | 33 | #ifdef HAVE_PATHS_H |
diff --git a/authfile.c b/authfile.c index 8421665b8..e01a08aac 100644 --- a/authfile.c +++ b/authfile.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: authfile.c,v 1.71 2006/07/22 20:48:22 stevesk Exp $ */ | 1 | /* $OpenBSD: authfile.c,v 1.72 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -40,6 +40,7 @@ | |||
40 | 40 | ||
41 | #include <sys/types.h> | 41 | #include <sys/types.h> |
42 | #include <sys/stat.h> | 42 | #include <sys/stat.h> |
43 | #include <sys/param.h> | ||
43 | 44 | ||
44 | #include <openssl/err.h> | 45 | #include <openssl/err.h> |
45 | #include <openssl/evp.h> | 46 | #include <openssl/evp.h> |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: buffer.c,v 1.28 2006/07/22 20:48:22 stevesk Exp $ */ | 1 | /* $OpenBSD: buffer.c,v 1.29 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -14,6 +14,8 @@ | |||
14 | 14 | ||
15 | #include "includes.h" | 15 | #include "includes.h" |
16 | 16 | ||
17 | #include <sys/param.h> | ||
18 | |||
17 | #include <string.h> | 19 | #include <string.h> |
18 | 20 | ||
19 | #include "xmalloc.h" | 21 | #include "xmalloc.h" |
diff --git a/clientloop.c b/clientloop.c index e38089c1e..ca7b9060a 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.c,v 1.171 2006/07/25 02:59:21 stevesk Exp $ */ | 1 | /* $OpenBSD: clientloop.c,v 1.172 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -63,6 +63,7 @@ | |||
63 | 63 | ||
64 | #include <sys/types.h> | 64 | #include <sys/types.h> |
65 | #include <sys/ioctl.h> | 65 | #include <sys/ioctl.h> |
66 | #include <sys/param.h> | ||
66 | #ifdef HAVE_SYS_STAT_H | 67 | #ifdef HAVE_SYS_STAT_H |
67 | # include <sys/stat.h> | 68 | # include <sys/stat.h> |
68 | #endif | 69 | #endif |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh.c,v 1.38 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: dh.c,v 1.39 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Niels Provos. All rights reserved. | 3 | * Copyright (c) 2000 Niels Provos. All rights reserved. |
4 | * | 4 | * |
@@ -25,6 +25,8 @@ | |||
25 | 25 | ||
26 | #include "includes.h" | 26 | #include "includes.h" |
27 | 27 | ||
28 | #include <sys/param.h> | ||
29 | |||
28 | #include <openssl/bn.h> | 30 | #include <openssl/bn.h> |
29 | #include <openssl/dh.h> | 31 | #include <openssl/dh.h> |
30 | 32 | ||
diff --git a/groupaccess.c b/groupaccess.c index 41f419740..3431691b9 100644 --- a/groupaccess.c +++ b/groupaccess.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: groupaccess.c,v 1.10 2006/07/17 01:31:09 stevesk Exp $ */ | 1 | /* $OpenBSD: groupaccess.c,v 1.11 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Kevin Steves. All rights reserved. | 3 | * Copyright (c) 2001 Kevin Steves. All rights reserved. |
4 | * | 4 | * |
@@ -26,6 +26,7 @@ | |||
26 | #include "includes.h" | 26 | #include "includes.h" |
27 | 27 | ||
28 | #include <sys/types.h> | 28 | #include <sys/types.h> |
29 | #include <sys/param.h> | ||
29 | 30 | ||
30 | #include <grp.h> | 31 | #include <grp.h> |
31 | #include <unistd.h> | 32 | #include <unistd.h> |
diff --git a/gss-genr.c b/gss-genr.c index 522fedab3..93dbeeebb 100644 --- a/gss-genr.c +++ b/gss-genr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gss-genr.c,v 1.11 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: gss-genr.c,v 1.12 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. | 4 | * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. |
@@ -28,6 +28,8 @@ | |||
28 | 28 | ||
29 | #ifdef GSSAPI | 29 | #ifdef GSSAPI |
30 | 30 | ||
31 | #include <sys/param.h> | ||
32 | |||
31 | #include <string.h> | 33 | #include <string.h> |
32 | #include <unistd.h> | 34 | #include <unistd.h> |
33 | 35 | ||
diff --git a/includes.h b/includes.h index fc85e6778..9dc284a69 100644 --- a/includes.h +++ b/includes.h | |||
@@ -82,7 +82,6 @@ | |||
82 | #ifdef HAVE_SYS_BSDTTY_H | 82 | #ifdef HAVE_SYS_BSDTTY_H |
83 | # include <sys/bsdtty.h> | 83 | # include <sys/bsdtty.h> |
84 | #endif | 84 | #endif |
85 | #include <sys/param.h> /* For MAXPATHLEN and roundup() */ | ||
86 | #ifdef HAVE_STDINT_H | 85 | #ifdef HAVE_STDINT_H |
87 | # include <stdint.h> | 86 | # include <stdint.h> |
88 | #endif | 87 | #endif |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kex.c,v 1.72 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: kex.c,v 1.73 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -25,6 +25,8 @@ | |||
25 | 25 | ||
26 | #include "includes.h" | 26 | #include "includes.h" |
27 | 27 | ||
28 | #include <sys/param.h> | ||
29 | |||
28 | #include <openssl/crypto.h> | 30 | #include <openssl/crypto.h> |
29 | 31 | ||
30 | #include <string.h> | 32 | #include <string.h> |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kexgexs.c,v 1.5 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: kexgexs.c,v 1.6 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Niels Provos. All rights reserved. | 3 | * Copyright (c) 2000 Niels Provos. All rights reserved. |
4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
@@ -26,6 +26,8 @@ | |||
26 | 26 | ||
27 | #include "includes.h" | 27 | #include "includes.h" |
28 | 28 | ||
29 | #include <sys/param.h> | ||
30 | |||
29 | #include <string.h> | 31 | #include <string.h> |
30 | 32 | ||
31 | #include "xmalloc.h" | 33 | #include "xmalloc.h" |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.c,v 1.60 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: misc.c,v 1.61 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * Copyright (c) 2005,2006 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2005,2006 Damien Miller. All rights reserved. |
@@ -29,6 +29,7 @@ | |||
29 | #include <sys/ioctl.h> | 29 | #include <sys/ioctl.h> |
30 | #include <sys/types.h> | 30 | #include <sys/types.h> |
31 | #include <sys/socket.h> | 31 | #include <sys/socket.h> |
32 | #include <sys/param.h> | ||
32 | 33 | ||
33 | #include <stdarg.h> | 34 | #include <stdarg.h> |
34 | #include <string.h> | 35 | #include <string.h> |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: monitor.c,v 1.82 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: monitor.c,v 1.83 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> | 3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> |
4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> | 4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> |
@@ -28,6 +28,7 @@ | |||
28 | #include "includes.h" | 28 | #include "includes.h" |
29 | 29 | ||
30 | #include <sys/types.h> | 30 | #include <sys/types.h> |
31 | #include <sys/param.h> | ||
31 | #include <sys/socket.h> | 32 | #include <sys/socket.h> |
32 | #include <sys/wait.h> | 33 | #include <sys/wait.h> |
33 | 34 | ||
diff --git a/monitor_mm.c b/monitor_mm.c index b6da6927f..89a8c9b49 100644 --- a/monitor_mm.c +++ b/monitor_mm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: monitor_mm.c,v 1.13 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: monitor_mm.c,v 1.14 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> | 3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> |
4 | * All rights reserved. | 4 | * All rights reserved. |
@@ -26,12 +26,13 @@ | |||
26 | 26 | ||
27 | #include "includes.h" | 27 | #include "includes.h" |
28 | 28 | ||
29 | #include <errno.h> | ||
30 | #include <string.h> | ||
31 | |||
32 | #ifdef HAVE_SYS_MMAN_H | 29 | #ifdef HAVE_SYS_MMAN_H |
33 | #include <sys/mman.h> | 30 | #include <sys/mman.h> |
34 | #endif | 31 | #endif |
32 | #include <sys/param.h> | ||
33 | |||
34 | #include <errno.h> | ||
35 | #include <string.h> | ||
35 | 36 | ||
36 | #include "ssh.h" | 37 | #include "ssh.h" |
37 | #include "xmalloc.h" | 38 | #include "xmalloc.h" |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: packet.c,v 1.138 2006/07/25 02:59:21 stevesk Exp $ */ | 1 | /* $OpenBSD: packet.c,v 1.139 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -41,6 +41,7 @@ | |||
41 | 41 | ||
42 | #include <sys/types.h> | 42 | #include <sys/types.h> |
43 | #include "openbsd-compat/sys-queue.h" | 43 | #include "openbsd-compat/sys-queue.h" |
44 | #include <sys/param.h> | ||
44 | #include <sys/socket.h> | 45 | #include <sys/socket.h> |
45 | #ifdef HAVE_SYS_TIME_H | 46 | #ifdef HAVE_SYS_TIME_H |
46 | # include <sys/time.h> | 47 | # include <sys/time.h> |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: scp.c,v 1.151 2006/07/25 02:59:21 stevesk Exp $ */ | 1 | /* $OpenBSD: scp.c,v 1.152 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * scp - secure remote copy. This is basically patched BSD rcp which | 3 | * scp - secure remote copy. This is basically patched BSD rcp which |
4 | * uses ssh to do the data transfer (instead of using rcmd). | 4 | * uses ssh to do the data transfer (instead of using rcmd). |
@@ -74,6 +74,7 @@ | |||
74 | #include "includes.h" | 74 | #include "includes.h" |
75 | 75 | ||
76 | #include <sys/types.h> | 76 | #include <sys/types.h> |
77 | #include <sys/param.h> | ||
77 | #ifdef HAVE_SYS_STAT_H | 78 | #ifdef HAVE_SYS_STAT_H |
78 | # include <sys/stat.h> | 79 | # include <sys/stat.h> |
79 | #endif | 80 | #endif |
diff --git a/serverloop.c b/serverloop.c index 1772992e8..77c4a5a27 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: serverloop.c,v 1.142 2006/07/25 02:59:21 stevesk Exp $ */ | 1 | /* $OpenBSD: serverloop.c,v 1.143 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -38,6 +38,7 @@ | |||
38 | #include "includes.h" | 38 | #include "includes.h" |
39 | 39 | ||
40 | #include <sys/types.h> | 40 | #include <sys/types.h> |
41 | #include <sys/param.h> | ||
41 | #include <sys/wait.h> | 42 | #include <sys/wait.h> |
42 | #include <sys/socket.h> | 43 | #include <sys/socket.h> |
43 | #ifdef HAVE_SYS_TIME_H | 44 | #ifdef HAVE_SYS_TIME_H |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: session.c,v 1.212 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: session.c,v 1.213 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
4 | * All rights reserved | 4 | * All rights reserved |
@@ -36,12 +36,13 @@ | |||
36 | #include "includes.h" | 36 | #include "includes.h" |
37 | 37 | ||
38 | #include <sys/types.h> | 38 | #include <sys/types.h> |
39 | #include <sys/param.h> | ||
39 | #ifdef HAVE_SYS_STAT_H | 40 | #ifdef HAVE_SYS_STAT_H |
40 | # include <sys/stat.h> | 41 | # include <sys/stat.h> |
41 | #endif | 42 | #endif |
42 | #include <sys/socket.h> | 43 | #include <sys/socket.h> |
43 | #include <sys/wait.h> | ||
44 | #include <sys/un.h> | 44 | #include <sys/un.h> |
45 | #include <sys/wait.h> | ||
45 | 46 | ||
46 | #include <arpa/inet.h> | 47 | #include <arpa/inet.h> |
47 | 48 | ||
diff --git a/sftp-client.c b/sftp-client.c index b00dc70bd..4416afa4c 100644 --- a/sftp-client.c +++ b/sftp-client.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp-client.c,v 1.71 2006/07/25 02:59:21 stevesk Exp $ */ | 1 | /* $OpenBSD: sftp-client.c,v 1.72 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -23,6 +23,7 @@ | |||
23 | #include "includes.h" | 23 | #include "includes.h" |
24 | 24 | ||
25 | #include <sys/types.h> | 25 | #include <sys/types.h> |
26 | #include <sys/param.h> | ||
26 | #ifdef HAVE_SYS_STAT_H | 27 | #ifdef HAVE_SYS_STAT_H |
27 | # include <sys/stat.h> | 28 | # include <sys/stat.h> |
28 | #endif | 29 | #endif |
diff --git a/sftp-common.c b/sftp-common.c index 2f3a90971..da907ff01 100644 --- a/sftp-common.c +++ b/sftp-common.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp-common.c,v 1.17 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: sftp-common.c,v 1.18 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
4 | * Copyright (c) 2001 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2001 Damien Miller. All rights reserved. |
@@ -28,6 +28,7 @@ | |||
28 | 28 | ||
29 | #include <sys/types.h> | 29 | #include <sys/types.h> |
30 | #include <sys/stat.h> | 30 | #include <sys/stat.h> |
31 | #include <sys/param.h> | ||
31 | 32 | ||
32 | #include <grp.h> | 33 | #include <grp.h> |
33 | #include <pwd.h> | 34 | #include <pwd.h> |
diff --git a/sftp-server.c b/sftp-server.c index 13ba8e625..02c897c11 100644 --- a/sftp-server.c +++ b/sftp-server.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp-server.c,v 1.66 2006/07/25 02:59:21 stevesk Exp $ */ | 1 | /* $OpenBSD: sftp-server.c,v 1.67 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -17,6 +17,7 @@ | |||
17 | #include "includes.h" | 17 | #include "includes.h" |
18 | 18 | ||
19 | #include <sys/types.h> | 19 | #include <sys/types.h> |
20 | #include <sys/param.h> | ||
20 | #include <sys/stat.h> | 21 | #include <sys/stat.h> |
21 | #ifdef HAVE_SYS_TIME_H | 22 | #ifdef HAVE_SYS_TIME_H |
22 | # include <sys/time.h> | 23 | # include <sys/time.h> |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp.c,v 1.87 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: sftp.c,v 1.88 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -22,6 +22,7 @@ | |||
22 | # include <sys/stat.h> | 22 | # include <sys/stat.h> |
23 | #endif | 23 | #endif |
24 | #include <sys/ioctl.h> | 24 | #include <sys/ioctl.h> |
25 | #include <sys/param.h> | ||
25 | #include <sys/socket.h> | 26 | #include <sys/socket.h> |
26 | #include <sys/wait.h> | 27 | #include <sys/wait.h> |
27 | 28 | ||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-add.c,v 1.85 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: ssh-add.c,v 1.86 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -39,6 +39,7 @@ | |||
39 | 39 | ||
40 | #include <sys/types.h> | 40 | #include <sys/types.h> |
41 | #include <sys/stat.h> | 41 | #include <sys/stat.h> |
42 | #include <sys/param.h> | ||
42 | 43 | ||
43 | #include <openssl/evp.h> | 44 | #include <openssl/evp.h> |
44 | 45 | ||
diff --git a/ssh-agent.c b/ssh-agent.c index e4b620483..ed48c56d4 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-agent.c,v 1.147 2006/07/25 02:59:21 stevesk Exp $ */ | 1 | /* $OpenBSD: ssh-agent.c,v 1.148 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -37,6 +37,8 @@ | |||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | 38 | ||
39 | #include <sys/types.h> | 39 | #include <sys/types.h> |
40 | #include <sys/param.h> | ||
41 | #include <sys/resource.h> | ||
40 | #include <sys/stat.h> | 42 | #include <sys/stat.h> |
41 | #include <sys/socket.h> | 43 | #include <sys/socket.h> |
42 | #ifdef HAVE_SYS_TIME_H | 44 | #ifdef HAVE_SYS_TIME_H |
@@ -46,7 +48,6 @@ | |||
46 | # include <sys/un.h> | 48 | # include <sys/un.h> |
47 | #endif | 49 | #endif |
48 | #include "openbsd-compat/sys-queue.h" | 50 | #include "openbsd-compat/sys-queue.h" |
49 | #include <sys/resource.h> | ||
50 | 51 | ||
51 | #include <openssl/evp.h> | 52 | #include <openssl/evp.h> |
52 | #include <openssl/md5.h> | 53 | #include <openssl/md5.h> |
diff --git a/ssh-keygen.c b/ssh-keygen.c index 17236a55a..8b48fbda0 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keygen.c,v 1.150 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: ssh-keygen.c,v 1.151 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -17,6 +17,7 @@ | |||
17 | #include <sys/types.h> | 17 | #include <sys/types.h> |
18 | #include <sys/socket.h> | 18 | #include <sys/socket.h> |
19 | #include <sys/stat.h> | 19 | #include <sys/stat.h> |
20 | #include <sys/param.h> | ||
20 | 21 | ||
21 | #include <openssl/evp.h> | 22 | #include <openssl/evp.h> |
22 | #include <openssl/pem.h> | 23 | #include <openssl/pem.h> |
diff --git a/sshlogin.c b/sshlogin.c index 8d811facd..4b2808206 100644 --- a/sshlogin.c +++ b/sshlogin.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshlogin.c,v 1.22 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: sshlogin.c,v 1.23 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -42,6 +42,7 @@ | |||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | 43 | ||
44 | #include <sys/types.h> | 44 | #include <sys/types.h> |
45 | #include <sys/param.h> | ||
45 | 46 | ||
46 | #include <errno.h> | 47 | #include <errno.h> |
47 | #include <fcntl.h> | 48 | #include <fcntl.h> |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: uidswap.c,v 1.33 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: uidswap.c,v 1.34 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -15,6 +15,7 @@ | |||
15 | #include "includes.h" | 15 | #include "includes.h" |
16 | 16 | ||
17 | #include <sys/types.h> | 17 | #include <sys/types.h> |
18 | #include <sys/param.h> | ||
18 | 19 | ||
19 | #include <errno.h> | 20 | #include <errno.h> |
20 | #include <pwd.h> | 21 | #include <pwd.h> |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: xmalloc.c,v 1.23 2006/07/22 20:48:23 stevesk Exp $ */ | 1 | /* $OpenBSD: xmalloc.c,v 1.24 2006/07/26 02:35:17 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -15,6 +15,8 @@ | |||
15 | 15 | ||
16 | #include "includes.h" | 16 | #include "includes.h" |
17 | 17 | ||
18 | #include <sys/param.h> | ||
19 | |||
18 | #include <stdarg.h> | 20 | #include <stdarg.h> |
19 | #include <string.h> | 21 | #include <string.h> |
20 | 22 | ||