gallium/u_tests: fix ifdef for sync_file fences
authorGeorge Kyriazis <george.kyriazis@intel.com>
Tue, 3 Oct 2017 15:31:16 +0000 (10:31 -0500)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Tue, 3 Oct 2017 16:50:48 +0000 (11:50 -0500)
commita8e4a0f609c602010169ad88567496d96bee9690
tree5cc95e5f85f877b1b2493c61d9deeb4880da4e6a
parent2d4b57fc3ed1e2daf66deb769bae3136af02399a
gallium/u_tests: fix ifdef for sync_file fences

include libsync.h only when libdrm is compiled in

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_tests.c