Francois Gouget : winecoreaudio: Protect pthread.h inclusion.
Module: wine Branch: refs/heads/master Commit: 21668ad76a75fcc7e41756b31d8b85960985cda4 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=21668ad76a75fcc7e41756b3... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Fri Jun 23 18:28:42 2006 +0200 winecoreaudio: Protect pthread.h inclusion. --- dlls/winmm/winecoreaudio/audio.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/dlls/winmm/winecoreaudio/audio.c b/dlls/winmm/winecoreaudio/audio.c index 50ae0be..e7d2ce1 100644 --- a/dlls/winmm/winecoreaudio/audio.c +++ b/dlls/winmm/winecoreaudio/audio.c @@ -32,7 +32,9 @@ #ifdef HAVE_UNISTD_H # include <unistd.h> #endif #include <fcntl.h> -#include <pthread.h> +#ifdef HAVE_PTHREAD_H +# include <pthread.h> +#endif #include "windef.h" #include "winbase.h"
participants (1)
-
Alexandre Julliard