Make this build on glibc systems.

Submitted by:	Dmitry V. Levin <ldv@altlinux.org>


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@225 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2003-05-24 18:33:26 +00:00
parent 64d0536448
commit 82eec0110d
1 changed files with 5 additions and 1 deletions

View File

@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $P4: //depot/projects/openpam/modules/pam_unix/pam_unix.c#3 $
* $P4: //depot/projects/openpam/modules/pam_unix/pam_unix.c#4 $
*/
#include <sys/param.h>
@ -42,6 +42,10 @@
#include <string.h>
#include <unistd.h>
#ifdef __GLIBC__
#include <crypt.h>
#endif
#include <security/pam_modules.h>
#include <security/pam_appl.h>