diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-11-30 12:14:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-30 12:14:58 -0500 |
commit | 779cccf8b421b99031884f4d2886e788ac77a6eb (patch) | |
tree | 6a6278ee1b8ad6a38d16471d07202f67a776353c /examples | |
parent | 5d7eb438d9dde68ce185daf977a0c27a1398bbc9 (diff) | |
parent | cef6d7549131cfee7cd60ada0388a2766335c70a (diff) |
Merge pull request #452 from moritz31/move-os-compatibility
Moved os-compatibility and added header
Diffstat (limited to 'examples')
-rw-r--r-- | examples/meson.build | 3 | ||||
-rw-r--r-- | examples/screenshot.c | 2 |
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; |