[PATCH 3/4] Fix build without MSC_TIMESTAMP

Peter Hutterer peter.hutterer at who-t.net
Sun Aug 25 15:09:20 PDT 2013


On Fri, Aug 23, 2013 at 07:47:55PM +0200, Martin Minarik wrote:
> To build with older input.h
> ---
>  test/test-event-names.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/test/test-event-names.c b/test/test-event-names.c
> index 74d0335..9b07e32 100644
> --- a/test/test-event-names.c
> +++ b/test/test-event-names.c
> @@ -157,7 +157,9 @@ START_TEST(test_code_msc_name)
>  	/* pick out a few only */
>  	ck_assert_str_eq(libevdev_get_event_code_name(EV_MSC, MSC_SERIAL), "MSC_SERIAL");
>  	ck_assert_str_eq(libevdev_get_event_code_name(EV_MSC, MSC_RAW), "MSC_RAW");
> +#ifdef MSC_TIMESTAMP
>  	ck_assert_str_eq(libevdev_get_event_code_name(EV_MSC, MSC_TIMESTAMP), "MSC_TIMESTAMP");
> +#endif
>  	ck_assert_str_eq(libevdev_get_event_code_name(EV_MSC, MSC_MAX), "MSC_MAX");
>  
>  	ck_assert(libevdev_get_event_code_name(EV_MSC, MSC_MAX - 1) == NULL);
> -- 
> 1.7.10.4
 
applied, thanks. can I assume your signed-off by?
we're using the same rules as the kernel
https://www.kernel.org/doc/Documentation/SubmittingPatches

Cheers,
   Peter


More information about the Input-tools mailing list