summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-09-02 07:32:40 +0200
committerDarren Tucker <dtucker@zip.com.au>2006-09-02 07:32:40 +0200
commit46aa3e0ce1d2f341bb3e4d46035faae3bb5ee69c (patch)
tree92daa5a80c3709fc6448da32abf5d6065380bb87
parent - (dtucker) [openbsd-compat/port-irix.c] Add errno.h, found by Iain Morgan. (diff)
downloadopenssh-46aa3e0ce1d2f341bb3e4d46035faae3bb5ee69c.tar.xz
openssh-46aa3e0ce1d2f341bb3e4d46035faae3bb5ee69c.zip
- (dtucker) [ssh-keyscan.c ssh-rand-helper.c ssh.c sshconnect.c
openbsd-compat/bindresvport.c openbsd-compat/getrrsetbyname.c openbsd-compat/port-tun.c openbsd-compat/rresvport.c] Include <arpa/inet.h> for hton* and ntoh* macros. Required on (at least) HP-UX since we define _XOPEN_SOURCE_EXTENDED. Found by santhi.amirta at gmail com.
-rw-r--r--ChangeLog7
-rw-r--r--openbsd-compat/bindresvport.c1
-rw-r--r--openbsd-compat/getrrsetbyname.c3
-rw-r--r--openbsd-compat/port-tun.c2
-rw-r--r--openbsd-compat/rresvport.c1
-rw-r--r--ssh-keyscan.c3
-rw-r--r--ssh-rand-helper.c1
-rw-r--r--ssh.c3
-rw-r--r--sshconnect.c1
9 files changed, 21 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f1732345c..56b4af7c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
20060902
- (dtucker) [openbsd-compat/port-irix.c] Add errno.h, found by Iain Morgan.
+ - (dtucker) [ssh-keyscan.c ssh-rand-helper.c ssh.c sshconnect.c
+ openbsd-compat/bindresvport.c openbsd-compat/getrrsetbyname.c
+ openbsd-compat/port-tun.c openbsd-compat/rresvport.c] Include <arpa/inet.h>
+ for hton* and ntoh* macros. Required on (at least) HP-UX since we define
+ _XOPEN_SOURCE_EXTENDED. Found by santhi.amirta at gmail com.
20060901
- (djm) [audit-bsm.c audit.c auth-bsdauth.c auth-chall.c auth-pam.c]
@@ -5380,4 +5385,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.4526 2006/09/02 02:38:56 dtucker Exp $
+$Id: ChangeLog,v 1.4527 2006/09/02 05:32:40 dtucker Exp $
diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c
index e8fb83f23..65afed1e3 100644
--- a/openbsd-compat/bindresvport.c
+++ b/openbsd-compat/bindresvport.c
@@ -37,6 +37,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <errno.h>
#include <string.h>
diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c
index 40155d5ab..6c86e02c2 100644
--- a/openbsd-compat/getrrsetbyname.c
+++ b/openbsd-compat/getrrsetbyname.c
@@ -52,6 +52,9 @@
#include <stdlib.h>
#include <string.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
#include "getrrsetbyname.h"
#if defined(HAVE_DECL_H_ERRNO) && !HAVE_DECL_H_ERRNO
diff --git a/openbsd-compat/port-tun.c b/openbsd-compat/port-tun.c
index cadc331e1..276474db8 100644
--- a/openbsd-compat/port-tun.c
+++ b/openbsd-compat/port-tun.c
@@ -18,7 +18,9 @@
#include <sys/types.h>
#include <sys/ioctl.h>
+
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <netinet/ip.h>
#include <errno.h>
diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c
index 17e66ca59..5b0275ce0 100644
--- a/openbsd-compat/rresvport.c
+++ b/openbsd-compat/rresvport.c
@@ -39,6 +39,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <errno.h>
#include <stdlib.h>
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index 64d4d0870..416d3f5c1 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -15,6 +15,9 @@
# include <sys/time.h>
#endif
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
#include <openssl/bn.h>
#include <netdb.h>
diff --git a/ssh-rand-helper.c b/ssh-rand-helper.c
index 10c9905b1..8520c3a62 100644
--- a/ssh-rand-helper.c
+++ b/ssh-rand-helper.c
@@ -34,6 +34,7 @@
#include <stddef.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
#ifdef HAVE_SYS_UN_H
# include <sys/un.h>
diff --git a/ssh.c b/ssh.c
index a34990b54..efc4af6d4 100644
--- a/ssh.c
+++ b/ssh.c
@@ -67,6 +67,9 @@
#include <string.h>
#include <unistd.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
#include <openssl/evp.h>
#include <openssl/err.h>
diff --git a/sshconnect.c b/sshconnect.c
index 823def6a9..a7a4e8a96 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -24,6 +24,7 @@
#endif
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <ctype.h>
#include <errno.h>