udev: define BTN_DPAD_RIGHT if not present (#6267)
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 3 Jul 2017 08:03:22 +0000 (18:03 +1000)
committerLennart Poettering <lennart@poettering.net>
Mon, 3 Jul 2017 08:03:22 +0000 (10:03 +0200)
commit0e4959973fb34c22022d6d7be41556bb97b55b6e
treeeae0c9a624c88beeb76fc1f900a2b55a1394179d
parent0a5706d1437d6ff22d8dc8f300186679a0a6b1cd
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
src/udev/udev-builtin-input_id.c