$OpenBSD: patch-provider_client_WSTransport_cpp,v 1.5 2010/06/30 02:46:48 ajacoutot Exp $
--- provider/client/WSTransport.cpp.orig	Mon May 31 19:28:58 2010
+++ provider/client/WSTransport.cpp	Mon Jun 14 09:16:44 2010
@@ -56,6 +56,10 @@
 
 #include <fstream>
 
+#ifdef __OpenBSD__
+#include <pthread.h>
+#endif
+
 #include "ECIConv.h"
 #include "WSTransport.h"
 #include "ProviderUtil.h"
@@ -63,7 +67,6 @@
 #include "soapH.h"
 #include "ZarafaUtil.h"
 
-
 // The header files we use for communication with the server
 #include "ZarafaCode.h"
 #include "soapZarafaCmdProxy.h"
@@ -90,6 +93,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
 
 /*
  *
