summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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