egl: Protect use of gbm_dri with ifdef HAVE_DRM_PLATFORM
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Tue, 8 Apr 2014 20:28:42 +0000 (23:28 +0300)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 25 Apr 2014 20:17:54 +0000 (21:17 +0100)
commit17860309f17de78e729f77e86101004f61f6bcf3
tree1c75e50e78e61f61d3c8b2fe6891054e83cddb95
parent63d4661ab28c036ab000f94812a91d93d538a72a
egl: Protect use of gbm_dri with ifdef HAVE_DRM_PLATFORM

Otherwise it fails to compile if the drm egl platform is disabled.

Cc: "10.0" "10.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/egl/drivers/dri2/egl_dri2.c