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 f2083135e9af1818e6a46108c9d0a4775c17df29..dc6cf66363b30b79cbd58ff4efb03e9e3e4b864c 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