aboutsummaryrefslogtreecommitdiffstats
path: root/src/OtherCommands.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/OtherCommands.cxx')
-rw-r--r--src/OtherCommands.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/OtherCommands.cxx b/src/OtherCommands.cxx
index b8cc36cc5..7aa162b3a 100644
--- a/src/OtherCommands.cxx
+++ b/src/OtherCommands.cxx
@@ -41,9 +41,8 @@ extern "C" {
#include "Permission.hxx"
#include "PlaylistFile.hxx"
-#include "ClientIdle.hxx"
#include "ClientFile.hxx"
-#include "Client.hxx"
+#include "ClientInternal.hxx"
#include "Idle.hxx"
#ifdef ENABLE_SQLITE
@@ -302,7 +301,7 @@ handle_idle(Client *client,
flags = ~0;
/* enable "idle" mode on this client */
- client_idle_wait(client, flags);
+ client->IdleWait(flags);
return COMMAND_RETURN_IDLE;
}