Switch to using the CMSG_* macros for FD passing
authorKeith Packard <keithp@keithp.com>
Fri, 8 Nov 2013 01:28:45 +0000 (17:28 -0800)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Fri, 8 Nov 2013 04:24:59 +0000 (20:24 -0800)
commit83f28ef8655acff746eab64eabe2e31f8cf0c892
treefdf84e46857e3888cf8112d2c84f9cc94d055a51
parentcca607409068ad0948e7283fb8d0465cabc51686
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>
src/xcb_conn.c
src/xcb_in.c
src/xcbint.h