summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-09-22 19:22:17 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-09-22 19:22:17 +1000
commitdace233d70cd5990500651dc416a634ed18e5c02 (patch)
tree56515dd3240da8d57a09505808d26a98fce048b0
parent0dc5484ca690ff0dce0f9643523b10935140e086 (diff)
downloadopenssh-git-dace233d70cd5990500651dc416a634ed18e5c02.tar.gz
- (dtucker) [packet.c canohost.c] Include arpa/inet.h for htonl macros on
some platforms (eg HP-UX 11.00). From santhi.amirta at gmail com.
-rw-r--r--ChangeLog6
-rw-r--r--canohost.c1
-rw-r--r--packet.c1
3 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a51117c8..f26dae2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20060922
+ - (dtucker) [packet.c canohost.c] Include arpa/inet.h for htonl macros on
+ some platforms (eg HP-UX 11.00). From santhi.amirta at gmail com.
+
20060921
- (dtucker) OpenBSD CVS Sync
- otto@cvs.openbsd.org 2006/09/19 05:52:23
@@ -5470,4 +5474,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.4555 2006/09/21 13:13:30 dtucker Exp $
+$Id: ChangeLog,v 1.4556 2006/09/22 09:22:17 dtucker Exp $
diff --git a/canohost.c b/canohost.c
index dd3972e8..2345cc35 100644
--- a/canohost.c
+++ b/canohost.c
@@ -18,6 +18,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <ctype.h>
#include <errno.h>
diff --git a/packet.c b/packet.c
index 6d58ebc0..ab5a0100 100644
--- a/packet.c
+++ b/packet.c
@@ -50,6 +50,7 @@
#include <netinet/in_systm.h>
#include <netinet/in.h>
#include <netinet/ip.h>
+#include <arpa/inet.h>
#include <errno.h>
#include <stdarg.h>