$NetBSD: patch-ab,v 1.1.1.1 2002/10/25 14:17:24 drochner Exp $ --- module.h.orig Fri Oct 25 15:47:23 2002 +++ module.h Fri Oct 25 15:55:15 2002 @@ -31,7 +31,12 @@ #include #include #ifndef _WIN32 -#include +#include +#define pthread_mutex_t pth_mutex_t +#define pthread_mutex_init(m, a) pth_mutex_init(m) +#define pthread_mutex_lock(m) pth_mutex_acquire(m, FALSE, NULL) +#define pthread_mutex_unlock(m) pth_mutex_release(m) +#define pthread_mutex_destroy(m) /* nothing */ #else #include #define pthread_mutex_t HANDLE