$OpenBSD: patch-lib_tevent_tevent_internal_h,v 1.1 2017/11/22 16:15:44 jca Exp $

Index: lib/tevent/tevent_internal.h
--- lib/tevent/tevent_internal.h.orig
+++ lib/tevent/tevent_internal.h
@@ -27,6 +27,10 @@
    License along with this library; if not, see <http://www.gnu.org/licenses/>.
 */
 
+#ifdef HAVE_PTHREAD
+#include <pthread.h>
+#endif
+
 struct tevent_req {
 	/**
 	 * @brief What to do on completion
