summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLazaros Koromilas <lostd@2f30.org>2016-06-12 14:50:26 +0200
committerMax Kellermann <max@duempel.org>2016-06-12 16:36:17 +0200
commitf59ca9441663649297c80a74a320e512072d4500 (patch)
treead1bd2db876d828015a58b341651dc0c61b73d56
parent22ff0d80ce3409ba158a15d63b03e98ae11d0573 (diff)
net/Resolver: correct includes for gettaddrinfo(3)
Signed-off-by: Lazaros Koromilas <lostd@2f30.org>
-rw-r--r--src/net/Resolver.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/Resolver.cxx b/src/net/Resolver.cxx
index a4f63bb69..aabf00198 100644
--- a/src/net/Resolver.cxx
+++ b/src/net/Resolver.cxx
@@ -27,6 +27,8 @@
#ifdef WIN32
#include <ws2tcpip.h>
#else
+#include <sys/types.h>
+#include <sys/socket.h>
#include <netdb.h>
#endif