utimens: avoid compiler warning
[gnulib.git] / lib / glthread / yield.h
index f208313..b2f44ac 100644 (file)
@@ -1,5 +1,5 @@
 /* Yielding the processor to other threads and processes.
-   Copyright (C) 2005-2008 Free Software Foundation, Inc.
+   Copyright (C) 2005-2010 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -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