summaryrefslogtreecommitdiff
path: root/canohost.c
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 /canohost.c
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.
Diffstat (limited to 'canohost.c')
-rw-r--r--canohost.c1
1 files changed, 1 insertions, 0 deletions
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>