diff options
author | Stefan Metzmacher <metze@samba.org> | 2018-05-22 15:43:12 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2018-07-11 23:04:21 +0200 |
commit | e239cbc1fd7ad3008ecb423f7dcb82651d2df420 (patch) | |
tree | 39e82d821a9df464013f63f6f913c06af6d8ba2e /lib/tevent | |
parent | 072e3b28ce029dd103ef2ea9836b6c6254825a8e (diff) | |
download | samba-e239cbc1fd7ad3008ecb423f7dcb82651d2df420.tar.gz |
tevent: make use of #include "system/threads.h"
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'lib/tevent')
-rw-r--r-- | lib/tevent/testsuite.c | 2 | ||||
-rw-r--r-- | lib/tevent/tevent_threads.c | 4 |
2 files changed, 3 insertions, 3 deletions
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 <pthread.h> +#include "system/threads.h" #include <assert.h> #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 <pthread.h> +#ifdef HAVE_PTHREAD +#include "system/threads.h" struct tevent_immediate_list { struct tevent_immediate_list *next, *prev; |