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.
master
sghctoma 6 years ago
parent 7a5d3c4d3b
commit ba5df0d21d

@ -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…
Cancel
Save