mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
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 <jsg@jsg.id.au> Cc: "10.1" <mesa-stable@lists.freedesktop.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
727f54a76e
commit
380f05ccc3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 <i915_drm.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue