2002-07-21 Jeffrey Stedfast <fejj@ximian.com>
authorJeffrey Stedfast <fejj@novell.com>
Sun, 21 Jul 2002 04:38:33 +0000 (04:38 -0000)
committerJeffrey Stedfast <fejj@novell.com>
Sun, 21 Jul 2002 04:38:33 +0000 (04:38 -0000)
* 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

mono/io-layer/ChangeLog
mono/io-layer/daemon-messages.c

index f5923874f3ae70214dc7cf8859116b565765af5f..e014e39e574a3baa173663f4a1e9fdeb0f1750da 100644 (file)
@@ -1,3 +1,10 @@
+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:
index c9be6816e6edc1cc83e34a9d7c2fa4f0b498e643..fd5aba100129187f82f0639c9d40045e861f89a2 100644 (file)
@@ -12,6 +12,8 @@
 #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>
 
@@ -149,7 +151,7 @@ void _wapi_daemon_request (int fd, WapiHandleRequest *req, int *fds,
        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;