Francois Gouget : winecoreaudio: Protect pthread.h inclusion.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 26 07:12:19 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 21668ad76a75fcc7e41756b31d8b85960985cda4
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=21668ad76a75fcc7e41756b31d8b85960985cda4
Author: Francois Gouget <fgouget at 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"
More information about the wine-cvs
mailing list