diff options
author | Max Kellermann <max@musicpd.org> | 2018-10-30 20:17:24 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-10-30 20:19:07 +0100 |
commit | 3ddc7a53538bf650e716e62f2206524d9fc9ecd7 (patch) | |
tree | 175cb2741d7d7c19556cd706b7d9e4dcb0588284 /src/event | |
parent | e575392b9461d7f975b198b8886e89dc60542825 (diff) |
event/ServerSocket: include cleanup
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/ServerSocket.cxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/event/ServerSocket.cxx b/src/event/ServerSocket.cxx index dbec53d17..25e1e81ba 100644 --- a/src/event/ServerSocket.cxx +++ b/src/event/ServerSocket.cxx @@ -32,25 +32,17 @@ #include "net/ToString.hxx" #include "event/SocketMonitor.hxx" #include "fs/AllocatedPath.hxx" -#include "fs/FileSystem.hxx" #include "util/RuntimeError.hxx" #include "util/Domain.hxx" -#include "util/ScopeExit.hxx" #include "Log.hxx" #include <string> #include <algorithm> -#include <string.h> -#include <unistd.h> #include <assert.h> -#ifdef _WIN32 -#include <ws2tcpip.h> -#include <winsock.h> -#else -#include <sys/socket.h> -#include <netdb.h> +#ifdef HAVE_UN +#include <sys/stat.h> #endif class ServerSocket::OneServerSocket final : private SocketMonitor { |