summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--mate-session/gsm-logout-dialog.c1
-rw-r--r--mate-session/gsm-manager.c1
-rw-r--r--mate-session/main.c1
4 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 1a98252..dab65c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,7 +116,7 @@ AC_ARG_WITH(systemd,
use_systemd=no
if test "x$with_systemd" != "xno" ; then
- PKG_CHECK_MODULES(SYSTEMD, libsystemd-login libsystemd-daemon, use_systemd=yes, use_systemd=no)
+ PKG_CHECK_MODULES(SYSTEMD, libsystemd-login, use_systemd=yes, use_systemd=no)
if test "x$use_systemd" = "xyes"; then
AC_DEFINE(HAVE_SYSTEMD, 1, [systemd support])
diff --git a/mate-session/gsm-logout-dialog.c b/mate-session/gsm-logout-dialog.c
index a98ffa9..2d2947c 100644
--- a/mate-session/gsm-logout-dialog.c
+++ b/mate-session/gsm-logout-dialog.c
@@ -32,7 +32,6 @@
#include "gsm-logout-dialog.h"
#ifdef HAVE_SYSTEMD
#include "gsm-systemd.h"
-#include <systemd/sd-daemon.h>
#endif
#include "gsm-consolekit.h"
#include "mdm.h"
diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c
index 59b71e4..1e393ac 100644
--- a/mate-session/gsm-manager.c
+++ b/mate-session/gsm-manager.c
@@ -62,7 +62,6 @@
#include "gsm-consolekit.h"
#ifdef HAVE_SYSTEMD
#include "gsm-systemd.h"
-#include <systemd/sd-daemon.h>
#endif
#include "gsm-session-save.h"
diff --git a/mate-session/main.c b/mate-session/main.c
index 9bd8219..6fa03b0 100644
--- a/mate-session/main.c
+++ b/mate-session/main.c
@@ -45,7 +45,6 @@
#include "gsm-consolekit.h"
#ifdef HAVE_SYSTEMD
#include "gsm-systemd.h"
-#include <systemd/sd-daemon.h>
#endif
#include "gsm-util.h"
#include "gsm-manager.h"