diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-07-08 21:47:13 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-07-08 21:47:13 +0000 |
commit | 751e64a6f437a770bfa4c7c19a978f5aa956cec1 (patch) | |
tree | 9f597dc77753b537c4645caef63253530dee71d6 /usr.bin/ssh | |
parent | 3df254212e0fda4fda8f3e7b5cf2b3050a267990 (diff) |
move #include <sys/socket.h> out of includes.h
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/authfd.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/canohost.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/clientloop.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/dns.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/dns.h | 5 | ||||
-rw-r--r-- | usr.bin/ssh/includes.h | 4 | ||||
-rw-r--r-- | usr.bin/ssh/monitor_fdpass.c | 4 | ||||
-rw-r--r-- | usr.bin/ssh/nchan.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/packet.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/servconf.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/sftp.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-agent.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-keyscan.c | 4 | ||||
-rw-r--r-- | usr.bin/ssh/ssh.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sshconnect.h | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sshd.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sshlogin.h | 5 |
17 files changed, 45 insertions, 19 deletions
diff --git a/usr.bin/ssh/authfd.c b/usr.bin/ssh/authfd.c index 0fa69bd2a8e..0d2b09ecc97 100644 --- a/usr.bin/ssh/authfd.c +++ b/usr.bin/ssh/authfd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: authfd.c,v 1.74 2006/03/30 09:58:15 djm Exp $ */ +/* $OpenBSD: authfd.c,v 1.75 2006/07/08 21:47:12 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -39,6 +39,7 @@ #include <sys/types.h> #include <sys/un.h> +#include <sys/socket.h> #include <openssl/evp.h> diff --git a/usr.bin/ssh/canohost.c b/usr.bin/ssh/canohost.c index b783f4cdb45..efd6f2e3887 100644 --- a/usr.bin/ssh/canohost.c +++ b/usr.bin/ssh/canohost.c @@ -1,4 +1,4 @@ -/* $OpenBSD: canohost.c,v 1.54 2006/07/05 02:42:09 stevesk Exp $ */ +/* $OpenBSD: canohost.c,v 1.55 2006/07/08 21:47:12 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -14,6 +14,7 @@ #include "includes.h" +#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index eb5bd58a031..98377bc7e67 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/clientloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.165 2006/07/02 23:01:55 stevesk Exp $ */ +/* $OpenBSD: clientloop.c,v 1.166 2006/07/08 21:47:12 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -64,6 +64,7 @@ #include <sys/ioctl.h> #include <sys/types.h> #include <sys/stat.h> +#include <sys/socket.h> #include <ctype.h> #include <paths.h> diff --git a/usr.bin/ssh/dns.c b/usr.bin/ssh/dns.c index 69084b57d23..504b5d72e89 100644 --- a/usr.bin/ssh/dns.c +++ b/usr.bin/ssh/dns.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dns.c,v 1.19 2006/03/25 22:22:43 djm Exp $ */ +/* $OpenBSD: dns.c,v 1.20 2006/07/08 21:47:12 stevesk Exp $ */ /* * Copyright (c) 2003 Wesley Griffin. All rights reserved. @@ -27,6 +27,9 @@ #include "includes.h" +#include <sys/types.h> +#include <sys/socket.h> + #include <netdb.h> #include "xmalloc.h" diff --git a/usr.bin/ssh/dns.h b/usr.bin/ssh/dns.h index 305ca07fbdc..81875038404 100644 --- a/usr.bin/ssh/dns.h +++ b/usr.bin/ssh/dns.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dns.h,v 1.7 2006/03/25 22:22:43 djm Exp $ */ +/* $OpenBSD: dns.h,v 1.8 2006/07/08 21:47:12 stevesk Exp $ */ /* * Copyright (c) 2003 Wesley Griffin. All rights reserved. @@ -27,6 +27,9 @@ #include "includes.h" +#include <sys/types.h> +#include <sys/socket.h> + #ifndef DNS_H #define DNS_H diff --git a/usr.bin/ssh/includes.h b/usr.bin/ssh/includes.h index a958336f5f3..d454c07d6dd 100644 --- a/usr.bin/ssh/includes.h +++ b/usr.bin/ssh/includes.h @@ -1,4 +1,4 @@ -/* $OpenBSD: includes.h,v 1.45 2006/07/06 16:03:53 stevesk Exp $ */ +/* $OpenBSD: includes.h,v 1.46 2006/07/08 21:47:12 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -17,12 +17,10 @@ #define INCLUDES_H #include <sys/types.h> -#include <sys/socket.h> #include <sys/param.h> #include <sys/time.h> #include <netdb.h> - #include <stddef.h> #include <stdio.h> #include <errno.h> diff --git a/usr.bin/ssh/monitor_fdpass.c b/usr.bin/ssh/monitor_fdpass.c index a94d7ef2610..a7c63a277e7 100644 --- a/usr.bin/ssh/monitor_fdpass.c +++ b/usr.bin/ssh/monitor_fdpass.c @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor_fdpass.c,v 1.8 2006/03/25 13:17:02 djm Exp $ */ +/* $OpenBSD: monitor_fdpass.c,v 1.9 2006/07/08 21:47:12 stevesk Exp $ */ /* * Copyright 2001 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -26,6 +26,8 @@ #include "includes.h" +#include <sys/types.h> +#include <sys/socket.h> #include <sys/uio.h> #include "log.h" diff --git a/usr.bin/ssh/nchan.c b/usr.bin/ssh/nchan.c index 13afe11ba41..7e936412769 100644 --- a/usr.bin/ssh/nchan.c +++ b/usr.bin/ssh/nchan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nchan.c,v 1.53 2006/03/25 13:17:02 djm Exp $ */ +/* $OpenBSD: nchan.c,v 1.54 2006/07/08 21:47:12 stevesk Exp $ */ /* * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. * @@ -25,6 +25,9 @@ #include "includes.h" +#include <sys/types.h> +#include <sys/socket.h> + #include "ssh1.h" #include "ssh2.h" #include "buffer.h" diff --git a/usr.bin/ssh/packet.c b/usr.bin/ssh/packet.c index 3812f8be035..abf9b64d539 100644 --- a/usr.bin/ssh/packet.c +++ b/usr.bin/ssh/packet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: packet.c,v 1.132 2006/07/05 02:42:09 stevesk Exp $ */ +/* $OpenBSD: packet.c,v 1.133 2006/07/08 21:47:12 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -40,6 +40,7 @@ #include "includes.h" #include <sys/queue.h> +#include <sys/types.h> #include <sys/socket.h> #include <netinet/in_systm.h> diff --git a/usr.bin/ssh/servconf.c b/usr.bin/ssh/servconf.c index 03edd92f643..1b6611c580c 100644 --- a/usr.bin/ssh/servconf.c +++ b/usr.bin/ssh/servconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: servconf.c,v 1.151 2006/07/06 10:47:05 djm Exp $ */ +/* $OpenBSD: servconf.c,v 1.152 2006/07/08 21:47:12 stevesk Exp $ */ /* * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * All rights reserved @@ -12,6 +12,9 @@ #include "includes.h" +#include <sys/types.h> +#include <sys/socket.h> + #include "ssh.h" #include "log.h" #include "servconf.h" diff --git a/usr.bin/ssh/sftp.c b/usr.bin/ssh/sftp.c index ce024d74c24..ab9d3371e01 100644 --- a/usr.bin/ssh/sftp.c +++ b/usr.bin/ssh/sftp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp.c,v 1.82 2006/05/17 12:43:34 markus Exp $ */ +/* $OpenBSD: sftp.c,v 1.83 2006/07/08 21:47:12 stevesk Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> * @@ -21,6 +21,7 @@ #include <sys/types.h> #include <sys/wait.h> #include <sys/stat.h> +#include <sys/socket.h> #include <glob.h> #include <histedit.h> diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c index 35701aa9b66..b16d0ffd279 100644 --- a/usr.bin/ssh/ssh-agent.c +++ b/usr.bin/ssh/ssh-agent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.140 2006/06/13 02:17:07 djm Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.141 2006/07/08 21:47:12 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -39,6 +39,7 @@ #include <sys/queue.h> #include <sys/resource.h> #include <sys/types.h> +#include <sys/socket.h> #include <sys/un.h> #include <paths.h> diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c index a26689cb706..af587402499 100644 --- a/usr.bin/ssh/ssh-keyscan.c +++ b/usr.bin/ssh/ssh-keyscan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keyscan.c,v 1.64 2006/03/25 13:17:02 djm Exp $ */ +/* $OpenBSD: ssh-keyscan.c,v 1.65 2006/07/08 21:47:12 stevesk Exp $ */ /* * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. * @@ -9,6 +9,8 @@ #include "includes.h" +#include <sys/types.h> +#include <sys/socket.h> #include <sys/queue.h> #include <sys/resource.h> diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 929fad8fb7c..5b50b2b42a3 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.c,v 1.279 2006/07/06 16:03:53 stevesk Exp $ */ +/* $OpenBSD: ssh.c,v 1.280 2006/07/08 21:47:12 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -45,6 +45,7 @@ #include <sys/resource.h> #include <sys/ioctl.h> #include <sys/types.h> +#include <sys/socket.h> #include <sys/un.h> #include <sys/stat.h> diff --git a/usr.bin/ssh/sshconnect.h b/usr.bin/ssh/sshconnect.h index c1b07390b38..0b3896f9ddc 100644 --- a/usr.bin/ssh/sshconnect.h +++ b/usr.bin/ssh/sshconnect.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect.h,v 1.21 2006/07/06 16:03:53 stevesk Exp $ */ +/* $OpenBSD: sshconnect.h,v 1.22 2006/07/08 21:47:12 stevesk Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. @@ -27,6 +27,7 @@ #define SSHCONNECT_H #include <sys/types.h> +#include <sys/socket.h> #include <pwd.h> diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index 0b8f40f7a73..c005eeb2a27 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.333 2006/07/06 16:03:53 stevesk Exp $ */ +/* $OpenBSD: sshd.c,v 1.334 2006/07/08 21:47:12 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -48,6 +48,7 @@ #include <sys/types.h> #include <sys/wait.h> #include <sys/stat.h> +#include <sys/socket.h> #include <paths.h> #include <pwd.h> diff --git a/usr.bin/ssh/sshlogin.h b/usr.bin/ssh/sshlogin.h index 390519c9c9b..bf6265a70a5 100644 --- a/usr.bin/ssh/sshlogin.h +++ b/usr.bin/ssh/sshlogin.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sshlogin.h,v 1.6 2006/03/25 22:22:43 djm Exp $ */ +/* $OpenBSD: sshlogin.h,v 1.7 2006/07/08 21:47:12 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -14,6 +14,9 @@ #ifndef SSHLOGIN_H #define SSHLOGIN_H +#include <sys/types.h> +#include <sys/socket.h> + void record_login(pid_t, const char *, const char *, uid_t, const char *, struct sockaddr *, socklen_t); |