summaryrefslogtreecommitdiffstats
path: root/net/base/net_util.h
diff options
context:
space:
mode:
authorrobert.nagy@gmail.com <robert.nagy@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-20 22:39:26 +0000
committerrobert.nagy@gmail.com <robert.nagy@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-20 22:39:26 +0000
commitbae892f9c1b9fea1b9d92ca2d81479239da9d545 (patch)
tree154e093e7cd9d290b529d717c810afac080e90d8 /net/base/net_util.h
parentc25b4c8cdf37e9bf45dafbc3e53a0b354537557e (diff)
downloadchromium_src-bae892f9c1b9fea1b9d92ca2d81479239da9d545.zip
chromium_src-bae892f9c1b9fea1b9d92ca2d81479239da9d545.tar.gz
chromium_src-bae892f9c1b9fea1b9d92ca2d81479239da9d545.tar.bz2
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
Diffstat (limited to 'net/base/net_util.h')
-rw-r--r--net/base/net_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/base/net_util.h b/net/base/net_util.h
index 97406c7..08cb02f 100644
--- a/net/base/net_util.h
+++ b/net/base/net_util.h
@@ -12,6 +12,7 @@
#include <windows.h>
#include <ws2tcpip.h>
#elif defined(OS_POSIX)
+#include <sys/types.h>
#include <sys/socket.h>
#endif