gbm: Fix build without gallium_drm_loader
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Thu, 9 Aug 2012 15:42:24 +0000 (17:42 +0200)
committerMatt Turner <mattst88@gmail.com>
Sun, 12 Aug 2012 21:38:32 +0000 (14:38 -0700)
commit4c73282d2bfa8fa52acdb3ac32c5eca260bad792
treea0c8ae36f7046291a9d9a6429d8b41dcaf86cbf1
parent9f5ff5981cfc1b1eb613890e4f8cec6a448611cc
gbm: Fix build without gallium_drm_loader

pipe_loader_drm_probe_fd only exists if HAVE_PIPE_LOADER_DRM is defined.
Patch improved as suggested by Vadim A. Misbakh-Soloviov.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=52962
src/gallium/targets/gbm/gbm.c