pipe-loader: build pipe_loader_drm_x_auth whenever HAVE_PIPE_LOADER_XCB is defined
Currently HAVE_PIPE_LOADER_XCB is defined, rather than being set to 1/0. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
ed092a8e1f
commit
1fb750f7f7
|
@ -66,7 +66,7 @@ static struct pipe_loader_ops pipe_loader_drm_ops;
|
|||
static void
|
||||
pipe_loader_drm_x_auth(int fd)
|
||||
{
|
||||
#if HAVE_PIPE_LOADER_XCB
|
||||
#ifdef HAVE_PIPE_LOADER_XCB
|
||||
/* Try authenticate with the X server to give us access to devices that X
|
||||
* is running on. */
|
||||
xcb_connection_t *xcb_conn;
|
||||
|
|
Loading…
Reference in New Issue