neuswc

patched neuswc library (tracked)
git clone https://git.daat.foo/neuswc.git
Log | Files | Refs | README | LICENSE

commit 437e7d547c83b2ffc8ce2e3eb2ef90c66c05641c
parent 761725110b63fa7938aed8e9558ff513363ccb48
Author: chld <chld@disroot.org>
Date:   Sun, 22 Mar 2026 12:56:15 -0500

add input headers for freebsd

Diffstat:
Mlibswc/seat.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/libswc/seat.c b/libswc/seat.c @@ -41,7 +41,11 @@ #include <unistd.h> #include <libinput.h> +#if defined(__linux__) #include <linux/input.h> +#elif defined(__FreeBSD__) +#include <dev/evdev/input.h> /* mirrors linux/input.h functionality */ +#endif #ifdef ENABLE_LIBUDEV #include <libudev.h> #endif