summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elput/elput_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/elput/elput_private.h b/src/lib/elput/elput_private.h
index 692dd4a83e..16fe305c5b 100644
--- a/src/lib/elput/elput_private.h
+++ b/src/lib/elput/elput_private.h
@@ -28,6 +28,10 @@
# include <systemd/sd-login.h>
# endif
+# ifdef HAVE_ELOGIND
+# include <elogind/sd-login.h>
+# endif
+
#ifndef ELPUT_NODEFS
# ifdef ELPUT_DEFAULT_LOG_COLOR
# undef ELPUT_DEFAULT_LOG_COLOR