* need to include sys/socket.h, PR#44313. * same signature as Linux and NetBSD for PAM related functions.