mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-05 06:27:59 +02:00
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 <peter.hutterer@who-t.net>
This commit is contained in:
parent
779ce028c3
commit
f37a712ca2
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <linux/input.h>
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
msleep(unsigned int ms)
|
msleep(unsigned int ms)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue