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/rresvport.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/rresvport.c')
-rw-r--r-- | openbsd-compat/rresvport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c index 17e66ca59..5b0275ce0 100644 --- a/openbsd-compat/rresvport.c +++ b/openbsd-compat/rresvport.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include <sys/socket.h> | 39 | #include <sys/socket.h> |
40 | 40 | ||
41 | #include <netinet/in.h> | 41 | #include <netinet/in.h> |
42 | #include <arpa/inet.h> | ||
42 | 43 | ||
43 | #include <errno.h> | 44 | #include <errno.h> |
44 | #include <stdlib.h> | 45 | #include <stdlib.h> |