mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04: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…
Add table
Add a link
Reference in a new issue