Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(803)

Unified Diff: net/socket/tcp_socket_win.cc

Issue 1427143003: include what you use: errno.h and string.h in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/tools/flip_server/acceptor_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/tcp_socket_win.cc
diff --git a/net/socket/tcp_socket_win.cc b/net/socket/tcp_socket_win.cc
index 4fa0d556d1ec99d921de10ff8b77d2184a152854..3bd2a69deb36605b0632e76e360b1685bbb55f51 100644
--- a/net/socket/tcp_socket_win.cc
+++ b/net/socket/tcp_socket_win.cc
@@ -5,6 +5,7 @@
#include "net/socket/tcp_socket.h"
#include "net/socket/tcp_socket_win.h"
+#include <errno.h>
xunjieli 2015/11/09 21:53:29 Why do we need this header for this file?
Mostyn Bramley-Moore 2015/11/09 23:13:08 Because the errno variable is used (on line 623).
#include <mstcpip.h>
#include "base/callback_helpers.h"
« no previous file with comments | « no previous file | net/tools/flip_server/acceptor_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698