[sysprof: 3/63] tools: Add missing dependency on glib-2.0
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof: 3/63] tools: Add missing dependency on glib-2.0
- Date: Sat, 4 Jul 2020 18:29:35 +0000 (UTC)
commit 30e56856553be00cf3559244f31b7cf934cbfb88
Author: Philip Withnall <withnall endlessm com>
Date: Tue Jun 30 16:20:21 2020 +0100
tools: 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 <withnall endlessm com>
Helps: #40
src/tools/meson.build | 1 +
src/tools/sysprof-cat.c | 1 +
src/tools/sysprof-dump.c | 1 +
3 files changed, 3 insertions(+)
---
diff --git a/src/tools/meson.build b/src/tools/meson.build
index 670052a..bb6603d 100644
--- a/src/tools/meson.build
+++ b/src/tools/meson.build
@@ -1,4 +1,5 @@
tools_deps = [
+ dependency('glib-2.0'),
libsysprof_capture_dep,
]
diff --git a/src/tools/sysprof-cat.c b/src/tools/sysprof-cat.c
index b4187bf..5d53435 100644
--- a/src/tools/sysprof-cat.c
+++ b/src/tools/sysprof-cat.c
@@ -23,6 +23,7 @@
#include "config.h"
#include <errno.h>
+#include <glib.h>
#include <glib/gstdio.h>
#include <stdlib.h>
#include <sysprof-capture.h>
diff --git a/src/tools/sysprof-dump.c b/src/tools/sysprof-dump.c
index 5491f3a..8b99624 100644
--- a/src/tools/sysprof-dump.c
+++ b/src/tools/sysprof-dump.c
@@ -20,6 +20,7 @@
#include "config.h"
+#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
#include <sysprof-capture.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]