summaryrefslogtreecommitdiffstats
path: root/ssh-rand-helper.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-09-02 07:32:40 +0200
committerDarren Tucker <dtucker@zip.com.au>2006-09-02 07:32:40 +0200
commit46aa3e0ce1d2f341bb3e4d46035faae3bb5ee69c (patch)
tree92daa5a80c3709fc6448da32abf5d6065380bb87 /ssh-rand-helper.c
parent - (dtucker) [openbsd-compat/port-irix.c] Add errno.h, found by Iain Morgan. (diff)
downloadopenssh-46aa3e0ce1d2f341bb3e4d46035faae3bb5ee69c.tar.xz
openssh-46aa3e0ce1d2f341bb3e4d46035faae3bb5ee69c.zip
- (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-rand-helper.c')
-rw-r--r--ssh-rand-helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssh-rand-helper.c b/ssh-rand-helper.c
index 10c9905b1..8520c3a62 100644
--- a/ssh-rand-helper.c
+++ b/ssh-rand-helper.c
@@ -34,6 +34,7 @@
#include <stddef.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
#ifdef HAVE_SYS_UN_H
# include <sys/un.h>