OpenSSH 6.5 on HP-UX 10.20

Dennis Grevenstein dennis.grevenstein at gmail.com
Tue Feb 4 06:26:39 EST 2014


Hi,

just a minor bugreport.

OpenSSH 6.5 needs a fix to compile on HP-UX 10.20.
On HP-UX 10.20, ntohs is not defined in "netinet/in.h" but in "arpa/inet.h".

readconf.c misses the required additional #include <arpa/inet.h>:

$ diff -c readconf.c readconf.c_new
*** readconf.c  Fri Jan 17 14:03:57 2014
--- readconf.c_new      Mon Feb  3 01:18:29 2014
***************
*** 22,27 ****
--- 22,28 ----
  #include <netinet/in.h>
  #include <netinet/in_systm.h>
  #include <netinet/ip.h>
+ #include <arpa/inet.h>
  
  #include <ctype.h>
  #include <errno.h>

if you want to reply, please CC: me, because I am not on the list.

regards,
Dennis

-- 
Don't suffer from insanity...
Enjoy every minute of it.



More information about the openssh-unix-dev mailing list