diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-05-30 22:25:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-30 22:25:01 +0200 |
commit | ba1261bc02693ac8a7712ade14aab8e22989ba88 (patch) | |
tree | 879e047af8d2e73f96134b44ddfb70135c3f6635 /src/systemctl/systemctl.c | |
parent | 7c0987d8129e4761d24c21bbc2e5d39731a6b7f0 (diff) |
build-sys: fix built with --disable-logind
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 66f4113eb2..58b6035c69 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -171,6 +171,7 @@ static void ask_password_agent_open_if_enabled(void) { ask_password_agent_open(); } +#ifdef HAVE_LOGIND static void polkit_agent_open_if_enabled(void) { /* Open the polkit agent as a child process if necessary */ @@ -183,6 +184,7 @@ static void polkit_agent_open_if_enabled(void) { polkit_agent_open(); } +#endif static const char *ansi_highlight_red(bool b) { |