From: Jonathan Gray Date: Tue, 18 Mar 2014 14:59:16 +0000 (+1100) Subject: loader: don't limit the non-udev path to only android X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=380f05ccc305bad7568ce19ea7e27cae39998d08;p=mesa.git loader: don't limit the non-udev path to only android Platforms that lack libudev (OpenBSD and possibly others) need this change in order to load the correct dri driver. Under linux we unconditionally require libudev, thus this code will never get build. v2: Add commit message (Emil Velikov) Signed-off-by: Jonathan Gray Cc: "10.1" Reviewed-by: Emil Velikov --- diff --git a/src/loader/loader.c b/src/loader/loader.c index 01b4f3a4c9a..666d0158a17 100644 --- a/src/loader/loader.c +++ b/src/loader/loader.c @@ -202,7 +202,7 @@ out: return (*chip_id >= 0); } -#elif defined(ANDROID) && !defined(__NOT_HAVE_DRM_H) +#elif !defined(__NOT_HAVE_DRM_H) /* for i915 */ #include