mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
20 lines
423 B
C
20 lines
423 B
C
--- pam_oath/pam_modutil.h.orig 2022-01-31 11:03:40 UTC
|
|
+++ pam_oath/pam_modutil.h
|
|
@@ -0,0 +1,17 @@
|
|
+#ifndef PAM_MODUTIL_H
|
|
+#define PAM_MODUTIL_H
|
|
+
|
|
+#ifdef HAVE_SECURITY_PAM_MODUTIL_H
|
|
+#include <security/pam_modutil.h>
|
|
+#else
|
|
+
|
|
+#ifdef HAVE_SECURITY_PAM_MODULES_H
|
|
+#include <security/pam_modules.h>
|
|
+#endif
|
|
+
|
|
+#include <pwd.h>
|
|
+
|
|
+struct passwd *pam_modutil_getpwnam(pam_handle_t *pamh, const char *user);
|
|
+
|
|
+#endif
|
|
+#endif
|