diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-09-02 15:32:40 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-09-02 15:32:40 +1000 |
commit | 46aa3e0ce1d2f341bb3e4d46035faae3bb5ee69c (patch) | |
tree | 92daa5a80c3709fc6448da32abf5d6065380bb87 /ssh-keyscan.c | |
parent | 25fa0ee693fc99377e395bf47d74960ffda20883 (diff) |
- (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.
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r-- | ssh-keyscan.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
15 | # include <sys/time.h> | 15 | # include <sys/time.h> |
16 | #endif | 16 | #endif |
17 | 17 | ||
18 | #include <netinet/in.h> | ||
19 | #include <arpa/inet.h> | ||
20 | |||
18 | #include <openssl/bn.h> | 21 | #include <openssl/bn.h> |
19 | 22 | ||
20 | #include <netdb.h> | 23 | #include <netdb.h> |