OpenSSH 6.5 on HP-UX 10.20

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



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.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux