summaryrefslogtreecommitdiff
path: root/auth-pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 8c0138362..1dec53e92 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -128,6 +128,10 @@ extern u_int utmp_len;
128typedef pthread_t sp_pthread_t; 128typedef pthread_t sp_pthread_t;
129#else 129#else
130typedef pid_t sp_pthread_t; 130typedef pid_t sp_pthread_t;
131#define pthread_exit fake_pthread_exit
132#define pthread_create fake_pthread_create
133#define pthread_cancel fake_pthread_cancel
134#define pthread_join fake_pthread_join
131#endif 135#endif
132 136
133struct pam_ctxt { 137struct pam_ctxt {