From b7f95ec1c6bcd64f79e68ef887913647f63219fd Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 12 Dec 2021 23:18:29 +0100 Subject: [PATCH] Rely on jack_native_thread_t definition from systemdeps.h types.h: Remove the definition of `jack_native_thread_t` as we will be relying on the one from systemdeps.h. {jack,thread}.h: Include systemdeps.h for definition of `jack_native_thread_t`. --- jack.h | 1 + thread.h | 1 + types.h | 7 ------- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/jack.h b/jack.h index 9ab67af..6c43e5d 100644 --- a/jack.h +++ b/jack.h @@ -25,6 +25,7 @@ extern "C" { #endif +#include #include #include diff --git a/thread.h b/thread.h index 3d240f3..84c988d 100644 --- a/thread.h +++ b/thread.h @@ -25,6 +25,7 @@ extern "C" { #endif #include +#include #include #include diff --git a/types.h b/types.h index 952186b..e4a29f7 100644 --- a/types.h +++ b/types.h @@ -96,13 +96,6 @@ typedef struct _jack_client jack_client_t; */ typedef uint32_t jack_port_id_t; -/** - * to make jack API independent of different thread implementations, - * we define jack_native_thread_t to pthread_t here. - * (all platforms that jack1 runs on, have pthread) - */ -typedef pthread_t jack_native_thread_t; - /** * @ref jack_options_t bits */