summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-06-10 18:38:12 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-06-10 18:38:12 +0200
commit409e8205e8a49423056d5a1b09c128e882a6102a (patch)
tree44a65c359e030a1789676c7fcd84f8e7286bf3fb /src
parent7fc0d51f701e933e2a63c631c7de3ebf9dee2559 (diff)
fix unportable linux-only include
including <linux/types.h> obviously isn't portable - instead using <sys/types.h> is the right choice for us. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-evdev/-/merge_requests/6>
Diffstat (limited to 'src')
-rw-r--r--src/evdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.h b/src/evdev.h
index 7081182..0bc81ff 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -36,7 +36,7 @@
#define EVDEV_H
#include <linux/input.h>
-#include <linux/types.h>
+#include <sys/types.h>
#include <xorg-server.h>
#include <xf86Xinput.h>