From 11f7bbb53348ebeaa74ef384bb654640c905db89 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 11 Apr 2014 09:23:31 +0200 Subject: [PATCH] Fix #2047 about bthread_cond_wait_p not declared A workaround is to compile with the --enable-lockmgr option --- bacula/src/lib/lockmgr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/bacula/src/lib/lockmgr.h b/bacula/src/lib/lockmgr.h index d112ee84ec..6844eebfce 100644 --- a/bacula/src/lib/lockmgr.h +++ b/bacula/src/lib/lockmgr.h @@ -230,6 +230,7 @@ int bthread_kill(pthread_t thread, int sig, # define BTHREAD_MUTEX_NO_PRIORITY PTHREAD_MUTEX_INITIALIZER # define BTHREAD_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER # define lmgr_mutex_is_locked(m) (1) +# define bthread_cond_wait_p(w, x, y, z) pthread_cond_wait(w,x) #endif /* _USE_LOCKMGR */ -- 2.39.5