From f80d174e8b179f3af80f7990529c3b0440846dca Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 7 Jan 2019 08:07:32 +0000 Subject: Simplify evdev includes on FreeBSD by relying on up-to-date package As evdev-proto is installed by CI some files have been missed: ../examples/pointer-constraints.c:2:10: fatal error: 'linux/input-event-codes.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../examples/relative-pointer-unstable-v1.c:5:10: fatal error: 'linux/input-event-codes.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- examples/idle-inhibit.c | 4 ---- examples/layer-shell.c | 4 ---- 2 files changed, 8 deletions(-) (limited to 'examples') diff --git a/examples/idle-inhibit.c b/examples/idle-inhibit.c index 48c812e8..348892ab 100644 --- a/examples/idle-inhibit.c +++ b/examples/idle-inhibit.c @@ -8,11 +8,7 @@ #include "idle-inhibit-unstable-v1-client-protocol.h" #include "xdg-shell-client-protocol.h" -#ifdef __linux__ #include -#elif __FreeBSD__ -#include -#endif /** * Usage: idle-inhibit diff --git a/examples/layer-shell.c b/examples/layer-shell.c index 77b2f6c3..59e2512d 100644 --- a/examples/layer-shell.c +++ b/examples/layer-shell.c @@ -1,9 +1,5 @@ #define _POSIX_C_SOURCE 200112L -#ifdef __linux__ #include -#elif __FreeBSD__ -#include -#endif #include #include #include -- cgit v1.2.3