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 93f39ea..987e737 100644 (file)
@@ -2,7 +2,7 @@
 
 static Elput_Interface *_ifaces[] =
 {
-#ifdef HAVE_SYSTEMD
+#if defined(HAVE_SYSTEMD) || defined(HAVE_ELOGIND)
    &_logind_interface,
 #endif
    NULL,