From: Stefan Metzmacher Date: Tue, 22 May 2018 13:43:12 +0000 (+0200) Subject: tevent: make use of #include "system/threads.h" X-Git-Tag: tevent-0.9.37~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e239cbc1fd7ad3008ecb423f7dcb82651d2df420;p=thirdparty%2Fsamba.git tevent: make use of #include "system/threads.h" Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/lib/tevent/testsuite.c b/lib/tevent/testsuite.c index 08aa7588ace..dba8f5895f7 100644 --- a/lib/tevent/testsuite.c +++ b/lib/tevent/testsuite.c @@ -32,7 +32,7 @@ #include "torture/torture.h" #include "torture/local/proto.h" #ifdef HAVE_PTHREAD -#include +#include "system/threads.h" #include #endif diff --git a/lib/tevent/tevent_threads.c b/lib/tevent/tevent_threads.c index 9410765266e..5d4e0c42676 100644 --- a/lib/tevent/tevent_threads.c +++ b/lib/tevent/tevent_threads.c @@ -28,8 +28,8 @@ #include "tevent_internal.h" #include "tevent_util.h" -#if defined(HAVE_PTHREAD) -#include +#ifdef HAVE_PTHREAD +#include "system/threads.h" struct tevent_immediate_list { struct tevent_immediate_list *next, *prev;