#include <linux/btrfs.h>
#endif
-#if 0 /// UNNEEDED by elogind
#ifdef HAVE_LINUX_VM_SOCKETS_H
#include <linux/vm_sockets.h>
#else
sizeof(unsigned int)];
};
#endif /* !HAVE_LINUX_VM_SOCKETS_H */
-#endif // 0
#ifndef RLIMIT_RTTIME
#define RLIMIT_RTTIME 15
#ifndef INPUT_PROP_ACCELEROMETER
#define INPUT_PROP_ACCELEROMETER 0x06
#endif
+
+#ifndef BTN_DPAD_UP
+#define BTN_DPAD_UP 0x220
+#define BTN_DPAD_RIGHT 0x223
+#endif
+
+#ifndef KEY_ALS_TOGGLE
+#define KEY_ALS_TOGGLE 0x230
+#endif
#endif // 0
#ifndef HAVE_KEY_SERIAL_T
#define KEYCTL_DESCRIBE 6
#endif
-#ifndef KEYCTL_LINK
-#define KEYCTL_LINK 8
-#endif
-
#ifndef KEYCTL_READ
#define KEYCTL_READ 11
#endif