1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-03-15 18:29:16 +01:00

Fix implicit yubikey_* declarations.

This commit is contained in:
Fredrik Thulin 2011-12-06 13:31:25 +01:00
parent bba72bfead
commit b27599957c
2 changed files with 10 additions and 0 deletions

View File

@ -43,6 +43,11 @@
#include "util.h"
#include "drop_privs.h"
#if HAVE_CR
/* for yubikey_hex_decode and yubikey_hex_p */
#include <yubikey.h>
#endif /* HAVE_CR */
/* Libtool defines PIC for shared objects */
#ifndef PIC
#define PAM_STATIC

5
util.c
View File

@ -39,6 +39,11 @@
#include "util.h"
#if HAVE_CR
/* for yubikey_hex_decode and yubikey_hex_p */
#include <yubikey.h>
#endif /* HAVE_CR */
int
get_user_cfgfile_path(const char *common_path, const char *filename, const char *username, char **fn)
{