Better separate some system specific code.

This commit is contained in:
Dmitry Timoshkov 2001-09-11 00:29:24 +00:00 committed by Alexandre Julliard
parent ecbf6c112b
commit b3eaa866e2
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@
#define SERVERDIR "/wineserver-" /* server socket directory (hostname appended) */ #define SERVERDIR "/wineserver-" /* server socket directory (hostname appended) */
#define SOCKETNAME "socket" /* name of the socket file */ #define SOCKETNAME "socket" /* name of the socket file */
#ifndef HAVE_MSGHDR_ACCRIGHTS
/* data structure used to pass an fd with sendmsg/recvmsg */ /* data structure used to pass an fd with sendmsg/recvmsg */
struct cmsg_fd struct cmsg_fd
{ {
@ -53,6 +54,7 @@ struct cmsg_fd
int type; /* SCM_RIGHTS */ int type; /* SCM_RIGHTS */
int fd; /* fd to pass */ int fd; /* fd to pass */
}; };
#endif /* HAVE_MSGHDR_ACCRIGHTS */
static void *boot_thread_id; static void *boot_thread_id;
static sigset_t block_set; /* signals to block during server calls */ static sigset_t block_set; /* signals to block during server calls */