| commit | 983cae052ad7d807387b2a0634c272edc449f0f1 | [log] [tgz] |
|---|---|---|
| author | Colin Cross <ccross@android.com> | Tue May 09 22:45:35 2023 -0700 |
| committer | Colin Cross <ccross@android.com> | Wed May 10 10:57:45 2023 -0700 |
| tree | a1c4df1f5c3a1ca7036d11ab638fa4dcc14b9f7b | |
| parent | 8b0d097a741b2c47dcd445e1af63a2e49ec37994 [diff] |
Fix VirtualInputDevice build for musl libc The struct input_event timespec types come from the kernel headers, which can vary in their exact definition based on which libc they came from. Use decltype to cast to the exact definition of the fields. Bug: 271946580 Test: m USE_HOST_MUSL=true host-native Change-Id: Iddcc6ea7c1e5d70edf8c159ddaff585eb38ef7fa