mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
Simplify evdev includes on FreeBSD by relying on up-to-date package
evdev-proto is installed by a dependency, so some files have been missed: In file included from ../sway/input/cursor.c:3: /usr/local/include/libevdev-1.0/libevdev/libevdev.h:30:10: fatal error: 'linux/input.h' file not found #include <linux/input.h> ^~~~~~~~~~~~~~~ ../swaybar/i3bar.c:3:10: fatal error: 'linux/input-event-codes.h' file not found #include <linux/input-event-codes.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
d06782c5e7
commit
0a4c4f3e52
7 changed files with 0 additions and 28 deletions
|
|
@ -1,9 +1,5 @@
|
|||
#include <assert.h>
|
||||
#ifdef __FreeBSD__
|
||||
#include <dev/evdev/input-event-codes.h>
|
||||
#else
|
||||
#include <linux/input-event-codes.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <wayland-client.h>
|
||||
#include <wayland-cursor.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue