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.
On Tue, Feb 4, 2014 at 6:26 AM, Dennis Grevenstein <dennis.grevenstein at gmail.com> wrote: [...]> 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".Thanks for the report. Unfortunately we didn't find out about it until after the release, but it's already been fixed and will be in the next release. https://anongit.mindrot.org/openssh.git/commit/?id=0eeafcd76b972a3d159f3118227c149a4d7817fe Thanks. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.