summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 04:45:01 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 04:45:01 +0000
commit115128140716fe566c804b93eee44d9662154d98 (patch)
treed879efda3a5a78a627ad6898ac6d7d51ee0e7ae6 /net
parentf94e82788f40ca0b6e8ffbbc79948c097de5876f (diff)
downloadchromium_src-115128140716fe566c804b93eee44d9662154d98.zip
chromium_src-115128140716fe566c804b93eee44d9662154d98.tar.gz
chromium_src-115128140716fe566c804b93eee44d9662154d98.tar.bz2
Include sys_addrinfo.h in tcp_client_socket_win.cc.
With some versions of the windows SDK (6.1) the definition for struct addrinfo comes from ws2tcpip.h, and in others ws2def.h. By including sys_addrinfo.h we get this to work in both cases. BUG=none TEST=none Review URL: http://codereview.chromium.org/660068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39986 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/socket/tcp_client_socket_win.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/socket/tcp_client_socket_win.cc b/net/socket/tcp_client_socket_win.cc
index ac5823da..a2159ce 100644
--- a/net/socket/tcp_client_socket_win.cc
+++ b/net/socket/tcp_client_socket_win.cc
@@ -15,6 +15,7 @@
#include "net/base/io_buffer.h"
#include "net/base/load_log.h"
#include "net/base/net_errors.h"
+#include "net/base/sys_addrinfo.h"
#include "net/base/winsock_init.h"
namespace net {