winecoreaudio: Protect pthread.h inclusion
Francois Gouget
fgouget at codeweavers.com
Fri Jun 23 11:28:42 CDT 2006
Changelog:
* dlls/winmm/winecoreaudio/audio.c
Francois Gouget <fgouget at codeweavers.com>
Protect pthread.h inclusion.
--
Francois Gouget
fgouget at codeweavers.com
-------------- next part --------------
Index: dlls/winmm/winecoreaudio/audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/winecoreaudio/audio.c,v
retrieving revision 1.10
diff -u -p -r1.10 audio.c
--- dlls/winmm/winecoreaudio/audio.c 1 Jun 2006 11:51:07 -0000 1.10
+++ dlls/winmm/winecoreaudio/audio.c 23 Jun 2006 15:56:14 -0000
@@ -32,7 +32,9 @@
# 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-patches
mailing list