$NetBSD: patch-configure,v 1.1 2014/09/25 10:21:57 fhajny Exp $ SunOS needs definitions from pam_appl.h. --- configure.orig 2011-10-18 19:38:22.000000000 +0000 +++ configure @@ -19887,6 +19887,9 @@ fi # include #endif +#ifdef __sun +# include +#endif " if test "x$ac_cv_header_security_pam_modules_h" = xyes; then : have_pam_include=yes