Sorry, for digging up an old problem . I did some searching of the archive but never found that link going back to 2007.
Now with your pointer I can see Oracle Solaris get over this problem by patching source code of software. Guess they can't afford to fix the pam_appl.h file.