diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-07-05 02:42:10 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-07-05 02:42:10 +0000 |
commit | 838a547bc72b1180e877029abc5781e996a46704 (patch) | |
tree | d355a50d85e21e99f763c993e515d228542c7665 /usr.bin/ssh | |
parent | 9772abdd787e434bf5b65d9da0b30b172394b3a6 (diff) |
move #include <netinet/in.h> out of includes.h; ok deraadt@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/canohost.c | 6 | ||||
-rw-r--r-- | usr.bin/ssh/hostfile.c | 6 | ||||
-rw-r--r-- | usr.bin/ssh/includes.h | 3 | ||||
-rw-r--r-- | usr.bin/ssh/misc.c | 4 | ||||
-rw-r--r-- | usr.bin/ssh/packet.c | 4 | ||||
-rw-r--r-- | usr.bin/ssh/readconf.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/serverloop.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/sshconnect.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/uuencode.c | 10 |
9 files changed, 36 insertions, 12 deletions
diff --git a/usr.bin/ssh/canohost.c b/usr.bin/ssh/canohost.c index 5bc8056cbf6..b783f4cdb45 100644 --- a/usr.bin/ssh/canohost.c +++ b/usr.bin/ssh/canohost.c @@ -1,4 +1,4 @@ -/* $OpenBSD: canohost.c,v 1.53 2006/03/25 13:17:01 djm Exp $ */ +/* $OpenBSD: canohost.c,v 1.54 2006/07/05 02:42:09 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -14,6 +14,10 @@ #include "includes.h" +#include <sys/socket.h> + +#include <netinet/in.h> + #include <ctype.h> #include "packet.h" diff --git a/usr.bin/ssh/hostfile.c b/usr.bin/ssh/hostfile.c index 39ff197a7fe..a6714b6e13e 100644 --- a/usr.bin/ssh/hostfile.c +++ b/usr.bin/ssh/hostfile.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hostfile.c,v 1.40 2006/03/25 13:17:02 djm Exp $ */ +/* $OpenBSD: hostfile.c,v 1.41 2006/07/05 02:42:09 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -38,6 +38,10 @@ #include "includes.h" +#include <sys/types.h> + +#include <netinet/in.h> + #include <resolv.h> #include <openssl/hmac.h> diff --git a/usr.bin/ssh/includes.h b/usr.bin/ssh/includes.h index c843a745c73..43b4ab3be5a 100644 --- a/usr.bin/ssh/includes.h +++ b/usr.bin/ssh/includes.h @@ -1,4 +1,4 @@ -/* $OpenBSD: includes.h,v 1.43 2006/07/03 17:59:32 stevesk Exp $ */ +/* $OpenBSD: includes.h,v 1.44 2006/07/05 02:42:09 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -21,7 +21,6 @@ #include <sys/param.h> #include <sys/time.h> -#include <netinet/in.h> #include <netdb.h> #include <stddef.h> diff --git a/usr.bin/ssh/misc.c b/usr.bin/ssh/misc.c index 1cf35f2ca9b..b8ea874ce95 100644 --- a/usr.bin/ssh/misc.c +++ b/usr.bin/ssh/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.52 2006/03/30 09:58:15 djm Exp $ */ +/* $OpenBSD: misc.c,v 1.53 2006/07/05 02:42:09 stevesk Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2005,2006 Damien Miller. All rights reserved. @@ -27,8 +27,10 @@ #include "includes.h" #include <sys/ioctl.h> +#include <sys/socket.h> #include <net/if.h> +#include <netinet/in.h> #include <netinet/tcp.h> #include <paths.h> diff --git a/usr.bin/ssh/packet.c b/usr.bin/ssh/packet.c index 9ef0469892b..3812f8be035 100644 --- a/usr.bin/ssh/packet.c +++ b/usr.bin/ssh/packet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: packet.c,v 1.131 2006/03/30 09:58:16 djm Exp $ */ +/* $OpenBSD: packet.c,v 1.132 2006/07/05 02:42:09 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -40,8 +40,10 @@ #include "includes.h" #include <sys/queue.h> +#include <sys/socket.h> #include <netinet/in_systm.h> +#include <netinet/in.h> #include <netinet/ip.h> #include "xmalloc.h" diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c index b9cb8a32383..ab999f565f9 100644 --- a/usr.bin/ssh/readconf.c +++ b/usr.bin/ssh/readconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: readconf.c,v 1.151 2006/03/25 13:17:02 djm Exp $ */ +/* $OpenBSD: readconf.c,v 1.152 2006/07/05 02:42:09 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -16,6 +16,9 @@ #include <sys/types.h> #include <sys/stat.h> +#include <sys/socket.h> + +#include <netinet/in.h> #include <ctype.h> diff --git a/usr.bin/ssh/serverloop.c b/usr.bin/ssh/serverloop.c index c16c126e32c..e966aa4fe2e 100644 --- a/usr.bin/ssh/serverloop.c +++ b/usr.bin/ssh/serverloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: serverloop.c,v 1.135 2006/03/25 18:30:55 deraadt Exp $ */ +/* $OpenBSD: serverloop.c,v 1.136 2006/07/05 02:42:09 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -39,6 +39,9 @@ #include <sys/types.h> #include <sys/wait.h> +#include <sys/socket.h> + +#include <netinet/in.h> #include <signal.h> #include <termios.h> diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c index 3b0a5e41512..90493ef06fe 100644 --- a/usr.bin/ssh/sshconnect.c +++ b/usr.bin/ssh/sshconnect.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect.c,v 1.186 2006/07/03 08:54:20 stevesk Exp $ */ +/* $OpenBSD: sshconnect.c,v 1.187 2006/07/05 02:42:09 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -18,6 +18,9 @@ #include <sys/types.h> #include <sys/wait.h> #include <sys/stat.h> +#include <sys/socket.h> + +#include <netinet/in.h> #include <ctype.h> #include <paths.h> diff --git a/usr.bin/ssh/uuencode.c b/usr.bin/ssh/uuencode.c index bf0906af88f..3128309cc96 100644 --- a/usr.bin/ssh/uuencode.c +++ b/usr.bin/ssh/uuencode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uuencode.c,v 1.21 2006/03/26 01:31:48 deraadt Exp $ */ +/* $OpenBSD: uuencode.c,v 1.22 2006/07/05 02:42:09 stevesk Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -25,11 +25,15 @@ #include "includes.h" -#include "xmalloc.h" -#include "uuencode.h" +#include <sys/types.h> + +#include <netinet/in.h> #include <resolv.h> +#include "xmalloc.h" +#include "uuencode.h" + int uuencode(const u_char *src, u_int srclength, char *target, size_t targsize) |