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

diff --git a/include/winsock.h b/include/winsock.h
index d5cc614..ca4f9b6 100644
--- a/include/winsock.h
+++ b/include/winsock.h
@@ -7,7 +7,15 @@
 #ifndef _WINSOCKAPI_
 #define _WINSOCKAPI_
 
+/* Solaris kludge */
+#undef FSHIFT
+#undef PAGESIZE
+#undef TRANSPARENT
 #include <netinet/in.h>
+#undef FSHIFT
+#undef PAGESIZE
+#undef TRANSPARENT
+
 #include <arpa/inet.h>
 #include <sys/types.h>
 #include <sys/time.h>