Index: net/dns/dns_config_service_posix_unittest.cc |
diff --git a/net/dns/dns_config_service_posix_unittest.cc b/net/dns/dns_config_service_posix_unittest.cc |
index 03a13918ebd67fb8c4560a212260450a92a2f7dd..04384d47a23f3d048e3c9553d6f1f700154537aa 100644 |
--- a/net/dns/dns_config_service_posix_unittest.cc |
+++ b/net/dns/dns_config_service_posix_unittest.cc |
@@ -18,6 +18,13 @@ |
#include "base/android/path_utils.h" |
#endif // defined(OS_ANDROID) |
+// Required for inet_pton() |
+#if defined(OS_WIN) |
+#include <winsock2.h> |
+#else |
+#include <arpa/inet.h> |
+#endif |
+ |
namespace net { |
#if !defined(OS_ANDROID) |