[gnome-system-monitor] Add missing include when built with systemd support https://bugzilla.gnome.org/show_bug.cgi?id=69431



commit 50cbaad941a0602fb7422c2011e3a57ed8956590
Author: Kalev Lember <kalevlember gmail com>
Date:   Thu Feb 21 23:17:46 2013 +0200

    Add missing include when built with systemd support
    https://bugzilla.gnome.org/show_bug.cgi?id=694314

 src/procman-app.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]