summaryrefslogtreecommitdiffstats
path: root/net/base/address_list.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/address_list.cc')
-rw-r--r--net/base/address_list.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/base/address_list.cc b/net/base/address_list.cc
index f365fb6..6ba6450 100644
--- a/net/base/address_list.cc
+++ b/net/base/address_list.cc
@@ -29,8 +29,12 @@
#include "net/base/address_list.h"
+#ifdef OS_WIN
#include <ws2tcpip.h>
#include <wspiapi.h> // Needed for Win2k compat.
+#else
+#include <netdb.h>
+#endif
namespace net {