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

diff --git a/include/main.h b/include/main.h
index 6002a12..ed84ca7 100644
--- a/include/main.h
+++ b/include/main.h
@@ -5,6 +5,8 @@
 #ifndef __WINE_MAIN_H
 #define __WINE_MAIN_H
 
+#include "windef.h"
+
 extern void MAIN_Usage(char*);
 extern BOOL MAIN_MainInit(void);
 extern BOOL MAIN_WineInit( int *argc, char *argv[] );