aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/Resolver.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-28 11:50:54 +0100
committerMax Kellermann <max@duempel.org>2013-11-28 11:50:54 +0100
commitf90abe9530ef1075bc9b60e0f08f405d2d86f799 (patch)
tree60f4052123e03cd326ec64f4b6cd711784d651b2 /src/system/Resolver.cxx
parent46bab7e4b921b79924643bacd08dcd3d1404ceb6 (diff)
downloadmpd-f90abe9530ef1075bc9b60e0f08f405d2d86f799.tar.gz
mpd-f90abe9530ef1075bc9b60e0f08f405d2d86f799.tar.xz
mpd-f90abe9530ef1075bc9b60e0f08f405d2d86f799.zip
include cleanup using iwyu
Diffstat (limited to 'src/system/Resolver.cxx')
-rw-r--r--src/system/Resolver.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/system/Resolver.cxx b/src/system/Resolver.cxx
index 5e6ea590b..8f4f4dcda 100644
--- a/src/system/Resolver.cxx
+++ b/src/system/Resolver.cxx
@@ -27,6 +27,9 @@
#ifndef WIN32
#include <sys/socket.h>
#include <netdb.h>
+#ifdef HAVE_TCP
+#include <netinet/in.h>
+#endif
#else
#include <ws2tcpip.h>
#include <winsock.h>