From f37a712ca2c5d1f5d00a0623aba9f009e9d58b91 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sat, 5 Oct 2019 07:10:43 +1000 Subject: [PATCH] util-time: include linux/input.h struct timeval isn't defined in time.h, at least not on musl. And since we need that value for struct input_events, let's include the header for that struct. That'll sort out the includes for free. Fixes #371 Signed-off-by: Peter Hutterer --- src/util-time.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util-time.h b/src/util-time.h index 71dc81fd..e8d3e41d 100644 --- a/src/util-time.h +++ b/src/util-time.h @@ -28,6 +28,7 @@ #include #include #include +#include static inline void msleep(unsigned int ms)