diff options
author | Cornelia Huck | 2019-05-16 19:10:36 +0200 |
---|---|---|
committer | Cornelia Huck | 2019-05-21 16:58:56 +0200 |
commit | d9cb4336159a00bd0d9c81b93f02874ef3626057 (patch) | |
tree | 6dfe5b09d5793559c20bcfd0729560e33150ad9c /include/standard-headers/linux/input.h | |
parent | update-linux-headers: handle new header file (diff) | |
download | qemu-d9cb4336159a00bd0d9c81b93f02874ef3626057.tar.gz qemu-d9cb4336159a00bd0d9c81b93f02874ef3626057.tar.xz qemu-d9cb4336159a00bd0d9c81b93f02874ef3626057.zip |
linux headers: update against Linux 5.2-rc1
commit a188339ca5a396acc588e5851ed7e19f66b0ebd9
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'include/standard-headers/linux/input.h')
-rw-r--r-- | include/standard-headers/linux/input.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/standard-headers/linux/input.h b/include/standard-headers/linux/input.h index c0ad9fc2c3..d8914f25a5 100644 --- a/include/standard-headers/linux/input.h +++ b/include/standard-headers/linux/input.h @@ -23,13 +23,17 @@ */ struct input_event { -#if (HOST_LONG_BITS != 32 || !defined(__USE_TIME_BITS64)) && !defined(__KERNEL) +#if (HOST_LONG_BITS != 32 || !defined(__USE_TIME_BITS64)) && !defined(__KERNEL__) struct timeval time; #define input_event_sec time.tv_sec #define input_event_usec time.tv_usec #else unsigned long __sec; +#if defined(__sparc__) && defined(__arch64__) + unsigned int __usec; +#else unsigned long __usec; +#endif #define input_event_sec __sec #define input_event_usec __usec #endif |