2007-05-02 22:49:27

by Mike Frysinger

[permalink] [raw]
Subject: [patch] pull in the linux/input.h header in linux/uinput.h

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__


2007-05-03 05:05:49

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [patch] pull in the linux/input.h header in linux/uinput.h

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