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 /openbsd-compat/getrrsetbyname.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 'openbsd-compat/getrrsetbyname.c')
-rw-r--r-- | openbsd-compat/getrrsetbyname.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c index 40155d5ab..6c86e02c2 100644 --- a/openbsd-compat/getrrsetbyname.c +++ b/openbsd-compat/getrrsetbyname.c | |||
@@ -52,6 +52,9 @@ | |||
52 | #include <stdlib.h> | 52 | #include <stdlib.h> |
53 | #include <string.h> | 53 | #include <string.h> |
54 | 54 | ||
55 | #include <netinet/in.h> | ||
56 | #include <arpa/inet.h> | ||
57 | |||
55 | #include "getrrsetbyname.h" | 58 | #include "getrrsetbyname.h" |
56 | 59 | ||
57 | #if defined(HAVE_DECL_H_ERRNO) && !HAVE_DECL_H_ERRNO | 60 | #if defined(HAVE_DECL_H_ERRNO) && !HAVE_DECL_H_ERRNO |