Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).

diff --git a/include/thread.h b/include/thread.h
index c1fa03e..f9d8379 100644
--- a/include/thread.h
+++ b/include/thread.h
@@ -21,6 +21,10 @@
 #ifndef __WINE_THREAD_H
 #define __WINE_THREAD_H
 
+#include <stdarg.h>
+#include <windef.h>
+#include <winbase.h>
+#include <winreg.h>
 #define WINE_NO_TEB
 #include <winternl.h>
 #include <wine/windef16.h>