pipe-loader: build pipe_loader_drm_x_auth whenever HAVE_PIPE_LOADER_XCB is defined
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 10 Feb 2014 18:45:32 +0000 (18:45 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 22 Feb 2014 03:26:28 +0000 (03:26 +0000)
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>
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c

index eb90149b5d95c3c5567d776a844d29a738c76650..9b8f1b55e8fb990e02157a860e8e028f2a9bfc5d 100644 (file)
@@ -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;