$OpenBSD: patch-provider_client_WSTransport_cpp,v 1.3 2009/10/20 22:34:26 ajacoutot Exp $
--- provider/client/WSTransport.cpp.orig	Fri Oct  9 22:34:38 2009
+++ provider/client/WSTransport.cpp	Tue Oct 20 23:41:37 2009
@@ -52,6 +52,10 @@
 #include <mapitags.h>
 #include <mapiutil.h>
 
+#ifdef __OpenBSD__
+#include <pthread.h>
+#endif
+
 #include "ECIConv.h"
 #include "WSTransport.h"
 #include "ProviderUtil.h"
@@ -59,7 +63,6 @@
 #include "soapH.h"
 #include "ZarafaUtil.h"
 
-
 // The header files we use for communication with the server
 #include "ZarafaCode.h"
 #include "soapZarafaCmdProxy.h"
@@ -87,6 +90,10 @@ static char THIS_FILE[] = __FILE__;
 #endif
 
 #define	pbMUIDECSABGuid	"\xac\x21\xa9\x50\x40\xd3\xee\x48\xb3\x19\xfb\xa7\x53\x30\x44\x25"
+
+#ifdef __OpenBSD__
+#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
+#endif
 
 /*
  *
