diff options
Diffstat (limited to 'auth-pam.c')
-rw-r--r-- | auth-pam.c | 4 |
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; | |||
128 | typedef pthread_t sp_pthread_t; | 128 | typedef pthread_t sp_pthread_t; |
129 | #else | 129 | #else |
130 | typedef pid_t sp_pthread_t; | 130 | typedef 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 | ||
133 | struct pam_ctxt { | 137 | struct pam_ctxt { |