diff --git a/pam/src/ffi.rs b/pam/src/ffi.rs index 5a798228..9425dc6d 100644 --- a/pam/src/ffi.rs +++ b/pam/src/ffi.rs @@ -30,6 +30,7 @@ pub struct pam_handle_t { _private: [u8; 0], } +#[link(name = "pam")] unsafe extern "C" { /// Get the username pub fn pam_get_user(