summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2006-07-03 17:59:33 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2006-07-03 17:59:33 +0000
commita21c7ad2a101e0ddaac706884348ac2fe2dcb244 (patch)
tree09df9ffa45ade9dd95ab6fe9a004717a368368f1 /usr.bin/ssh
parent201937df6d5e3a2bac276ad2d17bfaa5b768eea8 (diff)
move #include <arpa/inet.h> out of includes.h; old ok djm@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/channels.c6
-rw-r--r--usr.bin/ssh/includes.h3
2 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c
index 1d4a24a473f..a2c6464bba4 100644
--- a/usr.bin/ssh/channels.c
+++ b/usr.bin/ssh/channels.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: channels.c,v 1.250 2006/04/16 00:48:52 djm Exp $ */
+/* $OpenBSD: channels.c,v 1.251 2006/07/03 17:59:32 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -44,6 +44,10 @@
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/un.h>
+#include <sys/socket.h>
+
+#include <netinet/in.h>
+#include <arpa/inet.h>
#include <termios.h>
diff --git a/usr.bin/ssh/includes.h b/usr.bin/ssh/includes.h
index c49d424f40a..c843a745c73 100644
--- a/usr.bin/ssh/includes.h
+++ b/usr.bin/ssh/includes.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: includes.h,v 1.42 2006/07/03 08:54:20 stevesk Exp $ */
+/* $OpenBSD: includes.h,v 1.43 2006/07/03 17:59:32 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -22,7 +22,6 @@
#include <sys/time.h>
#include <netinet/in.h>
-#include <arpa/inet.h>
#include <netdb.h>
#include <stddef.h>