/* 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
/* Use the old Solaris threads library. */
# include <thread.h>
-# include <synch.h>
# ifdef __cplusplus
extern "C" {
#if USE_WIN32_THREADS
+# include <windows.h>
+
# ifdef __cplusplus
extern "C" {
# endif