The change to includes.h made between releases 3.8.1p1 and 3.9p1 broke the build of ssh-keyscan.c for HP-UX 10.20. Stubbing out lines 184-193 of includes.h fixes this problem. I am not sure what the portable automake method way of detecting HP-UX 10.20 is, but #ifdef'ing out this section of the header file according to a platform version less than HPUX11 is needed to fix the 10.20 build. After #if 0'ing out these lines I did a make clean and a make and everything then build successfully.
Created attachment 736 [details] Check for conflicting getspnam declarations at configure time. Please try this patch (you will need to run "autoreconf" from autoconf-2.59 to rebuild configure).
I tried out the GETSPNAM_CONFLICTING_DEFS patch on my HP-UX 10.20 build system. This change does resolve my build issue.
Thanks for the confirmation, applied.
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.