1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-01-19 16:52:17 +01:00

Fix implicit declaration warning.

This commit is contained in:
Fredrik Thulin 2011-12-06 14:38:08 +01:00
parent c795e84bef
commit afd4198de1

9
test.c
View File

@ -30,7 +30,16 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
/* These #defines must be present according to PAM documentation. */
#define PAM_SM_AUTH
#ifdef HAVE_SECURITY_PAM_APPL_H
#include <security/pam_appl.h> #include <security/pam_appl.h>
#endif
#ifdef HAVE_SECURITY_PAM_MODULES_H
#include <security/pam_modules.h>
#endif
int int
main (int argc, char **argv) main (int argc, char **argv)