From 83298a44d7d8ab8b257e39440835756a04f01f38 Mon Sep 17 00:00:00 2001 From: David Reid Date: Thu, 25 Jun 2020 07:17:05 +1000 Subject: [PATCH] Fix compilation errors on POSIX systems and MA_NO_DEVICE_IO. Public issue https://github.com/dr-soft/miniaudio/issues/171 --- miniaudio.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index e27659dc..b8c87c83 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -1574,11 +1574,7 @@ extern "C" { #endif #else #define MA_POSIX - - /* We only use multi-threading with the device IO API, so no need to include these headers otherwise. */ -#if !defined(MA_NO_DEVICE_IO) #include /* Unfortunate #include, but needed for pthread_t, pthread_mutex_t and pthread_cond_t types. */ -#endif #ifdef __unix__ #define MA_UNIX