ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.

diff --git a/include/flatthunk.h b/include/flatthunk.h
index 2a8059b..31ec12e 100644
--- a/include/flatthunk.h
+++ b/include/flatthunk.h
@@ -7,6 +7,10 @@
 #ifndef __WINE_FLATTHUNK_H
 #define __WINE_FLATTHUNK_H
 
+#include "windef.h"
+
+struct _PDB;
+
 struct ThunkDataCommon
 {
     char                   magic[4];         /* 00 */
@@ -96,7 +100,7 @@
 struct SLTargetDB
 {
      struct SLTargetDB *   next;
-     PDB *               process;
+     struct _PDB *         process;
      DWORD *               targetTable;
 };