chiark / gitweb /
udev: input_id: tag accelerometers as ID_INPUT_ACCELEROMETER
[elogind.git] / src / shared / missing.h
index 4abd0232f81802a3018067c8ad520f78be194d82..eddfa78b8b167ef43b6a3ae887fc49c70b422904 100644 (file)
 #include <linux/capability.h>
 #include <linux/neighbour.h>
 
-#ifdef HAVE_AUDIT
-#include <libaudit.h>
-#endif
-
 #ifdef ARCH_MIPS
 #include <asm/sgidefs.h>
 #endif
@@ -930,3 +926,12 @@ static inline int renameat2(int oldfd, const char *oldname, int newfd, const cha
 #ifndef RENAME_NOREPLACE
 #define RENAME_NOREPLACE (1 << 0)
 #endif
+
+
+#ifndef INPUT_PROP_POINTING_STICK
+#define INPUT_PROP_POINTING_STICK 0x05
+#endif
+
+#ifndef INPUT_PROP_ACCELEROMETER
+#define INPUT_PROP_ACCELEROMETER  0x06
+#endif
\ No newline at end of file