summaryrefslogtreecommitdiff
path: root/canohost.c
diff options
context:
space:
mode:
authordtucker <dtucker>2006-09-22 09:22:17 +0000
committerdtucker <dtucker>2006-09-22 09:22:17 +0000
commit5a6c3308a78c9353cba65cd0a40ba2d6f1ea43d4 (patch)
tree57bf1dea55e32e54025312106757159a22e93868 /canohost.c
parenta2d197e5b9a40403b5625411e31be4c822e58d7e (diff)
downloadopenssh-5a6c3308a78c9353cba65cd0a40ba2d6f1ea43d4.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>