aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-08 09:22:44 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-08 09:22:44 -0500
commit35188834db182db43b407b58db167950fab05477 (patch)
tree4ce63cc7f7f01f1e7cf7fb0f6994c4306ae4cad2 /examples
parente3542d879d50d6239ad4ca24b4d30520fef40a87 (diff)
parent381a646d2fbcb1b488e1551438444ac267f39138 (diff)
Merge branch 'master' into feature/xwm-selection
Diffstat (limited to 'examples')
-rw-r--r--examples/meson.build3
-rw-r--r--examples/screenshot.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/meson.build b/examples/meson.build
index 89fc6211..af0f5a18 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -29,5 +29,6 @@ executable(
executable(
'screenshot',
'screenshot.c',
- dependencies: [wayland_client, wlr_protos],
+ dependencies: [wayland_client, wlr_protos, wlroots],
+ link_with: lib_shared,
)
diff --git a/examples/screenshot.c b/examples/screenshot.c
index fc7f3cb3..a887d1d7 100644
--- a/examples/screenshot.c
+++ b/examples/screenshot.c
@@ -35,7 +35,7 @@
#include <limits.h>
#include <sys/param.h>
#include <screenshooter-client-protocol.h>
-#include "../backend/wayland/os-compatibility.c"
+#include "util/os-compatibility.h"
static struct wl_shm *shm = NULL;
static struct orbital_screenshooter *screenshooter = NULL;