- (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.
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index 64d4d08..416d3f5 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -15,6 +15,9 @@
# include <sys/time.h>
#endif
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
#include <openssl/bn.h>
#include <netdb.h>