- (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.
diff --git a/ChangeLog b/ChangeLog
index f173234..56b4af7 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 e8fb83f..65afed1 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 40155d5..6c86e02 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 cadc331..276474d 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 17e66ca..5b0275c 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 64d4d08..416d3f5 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 10c9905..8520c3a 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 a34990b..efc4af6 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 823def6..a7a4e8a 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>