gnome-system-monitor/gnome-system-monitor-3.7.90-fix-systemd-build.patch
2013-02-20 20:15:24 +01:00

29 lines
696 B
Diff

From 05bb65268c8f37da220c72bd3e8fb4f3edd484b6 Mon Sep 17 00:00:00 2001
From: Kalev Lember <kalevlember@gmail.com>
Date: Wed, 20 Feb 2013 20:07:36 +0100
Subject: [PATCH] Add missing include when built with systemd support
https://bugzilla.gnome.org/show_bug.cgi?id=694314
---
src/procman-app.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/procman-app.cpp b/src/procman-app.cpp
index 2aa1de4..587ec1f 100644
--- a/src/procman-app.cpp
+++ b/src/procman-app.cpp
@@ -4,6 +4,10 @@
#include <glibtop.h>
#include <glibtop/close.h>
+#ifdef HAVE_SYSTEMD
+#include <systemd/sd-daemon.h>
+#endif
+
#include "procman-app.h"
#include "interface.h"
#include "proctable.h"
--
1.8.1.4