aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-07 15:24:28 -0500
committerGitHub <noreply@github.com>2019-01-07 15:24:28 -0500
commitfe187fc887d5b62d47e81b25cfa1a67b0fa4cc16 (patch)
tree8478e3a6b450ef6c09287c2a91f19d2b1fca87d0 /examples
parente61ea7706b36435836f341bc371124902d5fb412 (diff)
parentbfd0254485f51c2c185a7321bbc9d56aada730ab (diff)
Merge pull request #1454 from jbeich/freebsd
Simplify FreeBSD build
Diffstat (limited to 'examples')
-rw-r--r--examples/idle-inhibit.c4
-rw-r--r--examples/layer-shell.c4
2 files changed, 0 insertions, 8 deletions
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 <linux/input-event-codes.h>
-#elif __FreeBSD__
-#include <dev/evdev/input-event-codes.h>
-#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 <linux/input-event-codes.h>
-#elif __FreeBSD__
-#include <dev/evdev/input-event-codes.h>
-#endif
#include <assert.h>
#include <GLES2/gl2.h>
#include <limits.h>