From 5996c73516ad1a21eff008145f4643d9eded2c80 Mon Sep 17 00:00:00 2001
From: Evan Hunt <each@isc.org>
Date: Tue, 25 Jan 2022 12:28:48 -0800
Subject: [PATCH] restore missing lines in dlz_pthread.h
some lines were accidentally deleted during a backport that
made it imposisble to build DLZ modules.
---
contrib/dlz/modules/include/dlz_pthread.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/contrib/dlz/modules/include/dlz_pthread.h b/contrib/dlz/modules/include/dlz_pthread.h
index c1b6db637e..4479f836c0 100644
--- a/contrib/dlz/modules/include/dlz_pthread.h
+++ b/contrib/dlz/modules/include/dlz_pthread.h
@@ -19,6 +19,11 @@
#ifndef DLZ_PTHREAD_H
#define DLZ_PTHREAD_H 1
+#ifndef PTHREADS
+#define PTHREADS 1
+#endif /* ifndef PTHREADS */
+
+#ifdef PTHREADS
#include <pthread.h>
#define dlz_mutex_t pthread_mutex_t
#define dlz_mutex_init pthread_mutex_init
--
2.34.1