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:
@@ -66,7 +66,7 @@ static struct pipe_loader_ops pipe_loader_drm_ops;
|
|||||||
static void
|
static void
|
||||||
pipe_loader_drm_x_auth(int fd)
|
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
|
/* Try authenticate with the X server to give us access to devices that X
|
||||||
* is running on. */
|
* is running on. */
|
||||||
xcb_connection_t *xcb_conn;
|
xcb_connection_t *xcb_conn;
|
||||||
|
Reference in New Issue
Block a user