diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-07 17:28:45 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-11-07 20:24:59 -0800 |
commit | 83f28ef8655acff746eab64eabe2e31f8cf0c892 (patch) | |
tree | fdf84e46857e3888cf8112d2c84f9cc94d055a51 /src/xcbint.h | |
parent | cca607409068ad0948e7283fb8d0465cabc51686 (diff) |
Switch to using the CMSG_* macros for FD passing
Use these instead of computing the values directly so that it might
work on BSD or other non-Linux systems
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/xcbint.h')
-rw-r--r-- | src/xcbint.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/xcbint.h b/src/xcbint.h index e122f2f..5c904fb 100644 --- a/src/xcbint.h +++ b/src/xcbint.h @@ -34,10 +34,6 @@ #include "config.h" #endif -#if HAVE_SENDMSG -#include <sys/socket.h> -#endif - #ifdef GCC_HAS_VISIBILITY #pragma GCC visibility push(hidden) #endif @@ -89,7 +85,6 @@ typedef void (*xcb_return_socket_func_t)(void *closure); #define XCB_MAX_PASS_FD 16 typedef struct _xcb_fd { - struct cmsghdr cmsghdr; int fd[XCB_MAX_PASS_FD]; int nfd; int ifd; |