elput: Fix ifdef check to work for elogind also
authorChris Michael <cp.michael@samsung.com>
Wed, 18 Jul 2018 02:23:42 +0000 (22:23 -0400)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 18 Dec 2018 04:15:48 +0000 (13:15 +0900)
src/lib/elput/elput_manager.c

index 93f39ea2619bf071f5513641498d8932b11a2722..987e73759b71b2ba5b0d0510e31721d77a049995 100644 (file)
@@ -2,7 +2,7 @@
 
 static Elput_Interface *_ifaces[] =
 {
-#ifdef HAVE_SYSTEMD
+#if defined(HAVE_SYSTEMD) || defined(HAVE_ELOGIND)
    &_logind_interface,
 #endif
    NULL,