[gjs] gjs_pch: Only include sysprof-capture if profiler is enabled
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] gjs_pch: Only include sysprof-capture if profiler is enabled
- Date: Thu, 20 May 2021 05:18:24 +0000 (UTC)
commit b1afe1f6a5433ed35361c5db8e57219a19d293e3
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Wed May 19 17:56:16 2021 +0200
gjs_pch: Only include sysprof-capture if profiler is enabled
gjs/gjs_pch.hh | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gjs/gjs_pch.hh b/gjs/gjs_pch.hh
index 40976a2e..fe3bd60f 100644
--- a/gjs/gjs_pch.hh
+++ b/gjs/gjs_pch.hh
@@ -120,7 +120,9 @@
#include <string.h>
#include <sys/types.h>
#include <syscall.h>
+#ifdef ENABLE_PROFILER
#include <sysprof-capture.h>
+#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]