From dbcf3180968ddc6a1c5a840a27c8622f209a3196 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 30 Jun 2020 16:18:51 +0100 Subject: [PATCH] examples: Add missing dependency on glib-2.0 It has previously been implicitly pulled in by libsysprof-capture, but that will change in future. Signed-off-by: Philip Withnall Helps: #40 --- examples/app.c | 1 + examples/meson.build | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/app.c b/examples/app.c index c2544cb1..abb45aa6 100644 --- a/examples/app.c +++ b/examples/app.c @@ -11,6 +11,7 @@ # include #endif +#include #include #include #include diff --git a/examples/meson.build b/examples/meson.build index 124ac241..71a036a4 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -1,3 +1,3 @@ app = executable('example-app', 'app.c', - dependencies: [libsysprof_capture_dep], + dependencies: [dependency('glib-2.0'), libsysprof_capture_dep], )