* daemon-messages.c: #include <sys/types.h> and <sys/sockets.h> -
these are needed for sendmsg() and also for struct msghdr (at
least on Solaris). Solaris still won't build because struct msghdr
doesn't have msg_flags, msg_control, or msg_controllen members.
svn path=/trunk/mono/; revision=5983
+2002-07-21 Jeffrey Stedfast <fejj@ximian.com>
+
+ * daemon-messages.c: #include <sys/types.h> and <sys/sockets.h> -
+ these are needed for sendmsg() and also for struct msghdr (at
+ least on Solaris). Solaris still won't build because struct msghdr
+ doesn't have msg_flags, msg_control, or msg_controllen members.
+
2002-07-20 Dick Porter <dick@ximian.com>
* wapi-private.h:
#include <pthread.h>
#include <errno.h>
#include <string.h>
+#include <sys/types.h>
+#include <sys/socket.h>
/* Freebsd needs this included explicitly, but it doesn't hurt on Linux */
#include <sys/uio.h>
struct iovec iov;
struct cmsghdr *cmsg;
guchar cmsgdata[CMSG_SPACE (sizeof(int)*3)];
-
+
msg.msg_name=NULL;
msg.msg_namelen=0;
msg.msg_iov=&iov;