mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
1
This commit is contained in:
@@ -1235,10 +1235,12 @@ static int _XSERVTransSocketSendFdInvalid(
|
|||||||
|
|
||||||
#define MAX_FDS 128
|
#define MAX_FDS 128
|
||||||
|
|
||||||
|
#ifdef XTRANS_SEND_FDS
|
||||||
union fd_pass {
|
union fd_pass {
|
||||||
struct cmsghdr cmsghdr;
|
struct cmsghdr cmsghdr;
|
||||||
char buf[CMSG_SPACE(MAX_FDS * sizeof(int))];
|
char buf[CMSG_SPACE(MAX_FDS * sizeof(int))];
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static int _XSERVTransSocketRead (
|
static int _XSERVTransSocketRead (
|
||||||
XtransConnInfo ciptr, char *buf, int size)
|
XtransConnInfo ciptr, char *buf, int size)
|
||||||
|
|||||||
Reference in New Issue
Block a user