#include <stdio.h>
#include <stdlib.h>

#include <security/pam_appl.h>
#include <security/pam_misc.h>

int main(int argc, char **argv)
{
	pam_handle_t *pamh = NULL;

	pam_sm_authenticate(pamh, 0, 1, "/home/aj/opensc/lib/opensc-pkcs11.so");

	exit(0);
}

#include <stdio.h>
#include <stdlib.h>

#include <security/pam_appl.h>
#include <security/pam_misc.h>
#include <security/pam_modules.h>

int main(int argc, char **argv)
{
	pam_handle_t *pamh = NULL;

	pam_sm_authenticate(pamh, 0, 1, "/home/aj/opensc/lib/opensc-pkcs11.so");

	exit(0);
}

Add security/pam_modules.h to fix compiler warning
Add security/pam_modules.h to fix compiler warning
