1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-14 19:24:13 +03:00

udev: define BTN_DPAD_RIGHT if not present (#6267)

Regression introduced in commit b876bc0 when building on systemds with a pre
3.11 headers (RHEL7 and derivatives).

All the DPAD defines were introduced in the same kernel commit
d09bbfd2a8408a9954, we don't need a separate ifdef check for right.

Fixes #6240
This commit is contained in:
Peter Hutterer 2017-07-03 18:03:22 +10:00 committed by Lennart Poettering
parent 0a5706d143
commit 0e4959973f

View File

@ -47,6 +47,7 @@
/* available as of kernel 3.11 */
#ifndef BTN_DPAD_UP
#define BTN_DPAD_UP 0x220
#define BTN_DPAD_RIGHT 0x223
#endif /* BTN_DPAD_UP */
/* available as of kernel 3.13 */