| Index: net/base/host_resolver_proc.cc
|
| diff --git a/net/base/host_resolver_proc.cc b/net/base/host_resolver_proc.cc
|
| index 331675a366be09d62c73fefd89595408793d10bc..e88fa2cef3a0b716d16cc11fa510a2c581e9f654 100644
|
| --- a/net/base/host_resolver_proc.cc
|
| +++ b/net/base/host_resolver_proc.cc
|
| @@ -12,8 +12,8 @@
|
| #include "net/base/net_errors.h"
|
| #include "net/base/sys_addrinfo.h"
|
|
|
| -#if defined(OS_POSIX) && !defined(OS_MACOSX)
|
| -#include <resolv.h>
|
| +#if defined(OS_OPENBSD)
|
| +#define AI_ADDRCONFIG 0
|
| #endif
|
|
|
| namespace net {
|
| @@ -143,7 +143,7 @@ int SystemHostResolverProc(const std::string& host,
|
| hints.ai_family = AF_UNSPEC;
|
| }
|
|
|
| -#if defined(OS_WIN) || defined(OS_OPENBSD)
|
| +#if defined(OS_WIN)
|
| // DO NOT USE AI_ADDRCONFIG ON WINDOWS.
|
| //
|
| // The following comment in <winsock2.h> is the best documentation I found
|
|
|