diff options
Diffstat (limited to 'net/socket')
-rw-r--r-- | net/socket/socks5_client_socket.cc | 7 | ||||
-rw-r--r-- | net/socket/socks5_client_socket_unittest.cc | 8 | ||||
-rw-r--r-- | net/socket/socks_client_socket.cc | 7 |
3 files changed, 4 insertions, 18 deletions
diff --git a/net/socket/socks5_client_socket.cc b/net/socket/socks5_client_socket.cc index ef3e9d0..a2fabfd 100644 --- a/net/socket/socks5_client_socket.cc +++ b/net/socket/socks5_client_socket.cc @@ -5,17 +5,12 @@ #include "net/socket/socks5_client_socket.h" #include "base/basictypes.h" -#include "build/build_config.h" -#if defined(OS_WIN) -#include <ws2tcpip.h> -#elif defined(OS_POSIX) -#include <netdb.h> -#endif #include "base/compiler_specific.h" #include "base/trace_event.h" #include "net/base/io_buffer.h" #include "net/base/load_log.h" #include "net/base/net_util.h" +#include "net/base/sys_addrinfo.h" namespace net { diff --git a/net/socket/socks5_client_socket_unittest.cc b/net/socket/socks5_client_socket_unittest.cc index d79bd02..aa4c454 100644 --- a/net/socket/socks5_client_socket_unittest.cc +++ b/net/socket/socks5_client_socket_unittest.cc @@ -5,16 +5,12 @@ #include "net/socket/socks5_client_socket.h" #include <map> -#include "build/build_config.h" -#if defined(OS_WIN) -#include <ws2tcpip.h> -#elif defined(OS_POSIX) -#include <netdb.h> -#endif + #include "net/base/address_list.h" #include "net/base/load_log.h" #include "net/base/load_log_unittest.h" #include "net/base/mock_host_resolver.h" +#include "net/base/sys_addrinfo.h" #include "net/base/test_completion_callback.h" #include "net/base/winsock_init.h" #include "net/socket/client_socket_factory.h" diff --git a/net/socket/socks_client_socket.cc b/net/socket/socks_client_socket.cc index 09c1dbd..db70461 100644 --- a/net/socket/socks_client_socket.cc +++ b/net/socket/socks_client_socket.cc @@ -5,17 +5,12 @@ #include "net/socket/socks_client_socket.h" #include "base/basictypes.h" -#include "build/build_config.h" -#if defined(OS_WIN) -#include <ws2tcpip.h> -#elif defined(OS_POSIX) -#include <netdb.h> -#endif #include "base/compiler_specific.h" #include "base/trace_event.h" #include "net/base/io_buffer.h" #include "net/base/load_log.h" #include "net/base/net_util.h" +#include "net/base/sys_addrinfo.h" namespace net { |