Include the right header files.
authorBruno Haible <bruno@clisp.org>
Sun, 17 Aug 2008 19:56:29 +0000 (21:56 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 17 Aug 2008 19:56:29 +0000 (21:56 +0200)
lib/glthread/yield.h

index f208313..dc6cf66 100644 (file)
@@ -73,7 +73,6 @@ extern "C" {
 /* Use the old Solaris threads library.  */
 
 # include <thread.h>
-# include <synch.h>
 
 # ifdef __cplusplus
 extern "C" {
@@ -92,6 +91,8 @@ extern "C" {
 
 #if USE_WIN32_THREADS
 
+# include <windows.h>
+
 # ifdef __cplusplus
 extern "C" {
 # endif