summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-tun.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-09-02 15:32:40 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-09-02 15:32:40 +1000
commit46aa3e0ce1d2f341bb3e4d46035faae3bb5ee69c (patch)
tree92daa5a80c3709fc6448da32abf5d6065380bb87 /openbsd-compat/port-tun.c
parent25fa0ee693fc99377e395bf47d74960ffda20883 (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/port-tun.c')
-rw-r--r--openbsd-compat/port-tun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/port-tun.c b/openbsd-compat/port-tun.c
index cadc331e1..276474db8 100644
--- a/openbsd-compat/port-tun.c
+++ b/openbsd-compat/port-tun.c
@@ -18,7 +18,9 @@
18 18
19#include <sys/types.h> 19#include <sys/types.h>
20#include <sys/ioctl.h> 20#include <sys/ioctl.h>
21
21#include <netinet/in.h> 22#include <netinet/in.h>
23#include <arpa/inet.h>
22#include <netinet/ip.h> 24#include <netinet/ip.h>
23 25
24#include <errno.h> 26#include <errno.h>