diff options
author | Jonathan Gray <[email protected]> | 2014-03-19 01:59:16 +1100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-04-05 12:17:28 +0100 |
commit | 380f05ccc305bad7568ce19ea7e27cae39998d08 (patch) | |
tree | 2e0f73089088905c57c5db0365c9be7947dea5e4 /src | |
parent | 727f54a76e03d61462914862d3111afe798547f5 (diff) |
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 <[email protected]>
Cc: "10.1" <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/loader/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <i915_drm.h> |