mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
Fix build failure on non-FreeBSD systems
Accidentally included the FreeBSD-specific dev/evdev/input.h file on other systems too. This commit fixes that.
This commit is contained in:
parent
7a5d3c4d3b
commit
ba5df0d21d
1 changed files with 1 additions and 2 deletions
|
@ -1,9 +1,8 @@
|
|||
#define _POSIX_C_SOURCE 200809L
|
||||
#ifdef __FreeBSD__
|
||||
#define __BSD_VISIBLE 1
|
||||
#define INPUT_MAJOR 0
|
||||
#endif
|
||||
#include <dev/evdev/input.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
|
|
Loading…
Reference in a new issue