summaryrefslogtreecommitdiff
path: root/src/net
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/net
parentfb547260d1b992b64c0ffd78e3bc55db86f90bda (diff)
*: include cleanup (using iwyu)
Diffstat (limited to 'src/net')
-rw-r--r--src/net/AllocatedSocketAddress.cxx1
-rw-r--r--src/net/Resolver.cxx1
-rw-r--r--src/net/SocketUtil.cxx6
3 files changed, 0 insertions, 8 deletions
diff --git a/src/net/AllocatedSocketAddress.cxx b/src/net/AllocatedSocketAddress.cxx
index 61615a72b..09264456b 100644
--- a/src/net/AllocatedSocketAddress.cxx
+++ b/src/net/AllocatedSocketAddress.cxx
@@ -30,7 +30,6 @@
#include "config.h"
#include "AllocatedSocketAddress.hxx"
-#include <assert.h>
#include <string.h>
#ifdef HAVE_UN
diff --git a/src/net/Resolver.cxx b/src/net/Resolver.cxx
index 55b46759e..a4f63bb69 100644
--- a/src/net/Resolver.cxx
+++ b/src/net/Resolver.cxx
@@ -19,7 +19,6 @@
#include "config.h"
#include "Resolver.hxx"
-#include "SocketAddress.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
diff --git a/src/net/SocketUtil.cxx b/src/net/SocketUtil.cxx
index 89b206d8e..0f89cac1f 100644
--- a/src/net/SocketUtil.cxx
+++ b/src/net/SocketUtil.cxx
@@ -23,12 +23,6 @@
#include "SocketError.hxx"
#include "system/fd_util.h"
-#include <unistd.h>
-
-#ifdef HAVE_IPV6
-#include <string.h>
-#endif
-
int
socket_bind_listen(int domain, int type, int protocol,
SocketAddress address,