diff options
Diffstat (limited to 'examples/idle-inhibit.c')
-rw-r--r-- | examples/idle-inhibit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/idle-inhibit.c b/examples/idle-inhibit.c index 348892ab..48c812e8 100644 --- a/examples/idle-inhibit.c +++ b/examples/idle-inhibit.c @@ -8,7 +8,11 @@ #include "idle-inhibit-unstable-v1-client-protocol.h" #include "xdg-shell-client-protocol.h" +#ifdef __linux__ #include <linux/input-event-codes.h> +#elif __FreeBSD__ +#include <dev/evdev/input-event-codes.h> +#endif /** * Usage: idle-inhibit |