summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2016-03-01 22:08:13 +0100
committerMax Kellermann <max@duempel.org>2016-03-01 22:08:13 +0100
commit1aee89f5ea603d24991c73e2479472577aa28d66 (patch)
tree5ac6038804aa63c3c9a22c613efd734fa5d688fd /src/client
parentfb547260d1b992b64c0ffd78e3bc55db86f90bda (diff)
*: include cleanup (using iwyu)
Diffstat (limited to 'src/client')
-rw-r--r--src/client/Client.hxx3
-rw-r--r--src/client/ClientList.hxx2
-rw-r--r--src/client/ClientNew.cxx1
3 files changed, 3 insertions, 3 deletions
diff --git a/src/client/Client.hxx b/src/client/Client.hxx
index 2b48b990f..0e7f324b7 100644
--- a/src/client/Client.hxx
+++ b/src/client/Client.hxx
@@ -27,7 +27,8 @@
#include "event/TimeoutMonitor.hxx"
#include "Compiler.h"
-#include <boost/intrusive/list.hpp>
+#include <boost/intrusive/link_mode.hpp>
+#include <boost/intrusive/list_hook.hpp>
#include <set>
#include <string>
diff --git a/src/client/ClientList.hxx b/src/client/ClientList.hxx
index 799b14ab7..76ddf1410 100644
--- a/src/client/ClientList.hxx
+++ b/src/client/ClientList.hxx
@@ -22,7 +22,7 @@
#include "Client.hxx"
-class Client;
+#include <boost/intrusive/list.hpp>
class ClientList {
typedef boost::intrusive::list<Client,
diff --git a/src/client/ClientNew.cxx b/src/client/ClientNew.cxx
index 6120f0253..acd8de927 100644
--- a/src/client/ClientNew.cxx
+++ b/src/client/ClientNew.cxx
@@ -26,7 +26,6 @@
#include "net/SocketAddress.hxx"
#include "net/ToString.hxx"
#include "Permission.hxx"
-#include "util/Error.hxx"
#include "Log.hxx"
#include <assert.h>