diff options
author | Lazaros Koromilas <lostd@2f30.org> | 2016-06-12 14:50:26 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-06-12 16:36:17 +0200 |
commit | f59ca9441663649297c80a74a320e512072d4500 (patch) | |
tree | ad1bd2db876d828015a58b341651dc0c61b73d56 | |
parent | 22ff0d80ce3409ba158a15d63b03e98ae11d0573 (diff) |
net/Resolver: correct includes for gettaddrinfo(3)
Signed-off-by: Lazaros Koromilas <lostd@2f30.org>
-rw-r--r-- | src/net/Resolver.cxx | 2 |
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 |