OpenBSD patches for net, split from CR #8275005

net/base/host_resolver_proc.cc:
  - define AI_ADDRCONFIG as 0

net/base/listen_socket.cc:
  - Shuffle and add missing headers since the order
    of including these matters.

net/base/net_util.h:
  - Missing header for all POSIX platforms. Needed on
    OpenBSD and it won't hurt others.

net/dns/dns_config_service_posix.h:
  - Missing header for OpenBSD. The order matters here too

net/dns/dns_config_service_posix.cc:
  - Use res_init() on OpenBSD and disable RES_ROTATE
    if it is not defined

net/net.gyp:
  - Do not use libresolv on OpenBSD since it's not there,
    the resolver is in libc.
  - Include base/platform_mime_util_linux.cc in the OpenBSD builds.

BUG=
TEST=


Review URL: http://codereview.chromium.org/8336024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106604 0039d316-1c4b-4281-b951-d872f2087c98
8 files changed