Some Solaris fixes. <resolv.h> needs <arpa/nameser.h>, sig_context.h
needs to define HANDLER_CONTEXT, wctype.h does not like 'wsprintf'
defined, msdos/dpmi.c needs "stackframe.h" too, and multimedia/dsound.c
needs "winuser.h".

diff --git a/misc/winsock.c b/misc/winsock.c
index c75900a..d6a5862 100644
--- a/misc/winsock.c
+++ b/misc/winsock.c
@@ -44,6 +44,9 @@
 #include <netdb.h>
 #include <unistd.h>
 #include <stdlib.h>
+#ifdef HAVE_ARPA_NAMESER_H
+# include <arpa/nameser.h>
+#endif
 #ifdef HAVE_RESOLV_H
 # include <resolv.h>
 #endif