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/bindresvport.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/bindresvport.c')
-rw-r--r-- | openbsd-compat/bindresvport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c index e8fb83f23..65afed1e3 100644 --- a/openbsd-compat/bindresvport.c +++ b/openbsd-compat/bindresvport.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <sys/socket.h> | 37 | #include <sys/socket.h> |
38 | 38 | ||
39 | #include <netinet/in.h> | 39 | #include <netinet/in.h> |
40 | #include <arpa/inet.h> | ||
40 | 41 | ||
41 | #include <errno.h> | 42 | #include <errno.h> |
42 | #include <string.h> | 43 | #include <string.h> |