In the 'yield' module, there were references to the Win32 API without #include <windows.h>.
*** lib/glthread/yield.h.orig 2008-08-17 21:53:21.000000000 +0200 --- lib/glthread/yield.h 2008-08-17 21:45:59.000000000 +0200 *************** *** 73,79 **** /* Use the old Solaris threads library. */ # include <thread.h> - # include <synch.h> # ifdef __cplusplus extern "C" { --- 73,78 ---- *************** *** 92,97 **** --- 91,98 ---- #if USE_WIN32_THREADS + # include <windows.h> + # ifdef __cplusplus extern "C" { # endif