uinput.h relies on structures only found in input.h, so pull in the header
Signed-off-by: Mike Frysinger <[email protected]>
---
diff --git a/include/linux/uinput.h b/include/linux/uinput.h
index 1fd61ee..a6c1e8e 100644
--- a/include/linux/uinput.h
+++ b/include/linux/uinput.h
@@ -32,6 +32,8 @@
* - first public version
*/
+#include <linux/input.h>
+
#define UINPUT_VERSION 3
#ifdef __KERNEL__
On Wednesday 02 May 2007 18:49, Mike Frysinger wrote:
> uinput.h relies on structures only found in input.h, so pull in the header
>
> Signed-off-by: Mike Frysinger <[email protected]>
> ---
> diff --git a/include/linux/uinput.h b/include/linux/uinput.h
> index 1fd61ee..a6c1e8e 100644
> --- a/include/linux/uinput.h
> +++ b/include/linux/uinput.h
> @@ -32,6 +32,8 @@
> * - first public version
> */
>
> +#include <linux/input.h>
> +
> #define UINPUT_VERSION 3
>
> #ifdef __KERNEL__
>
Applied, thank you.
--
Dmitry