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

Unified Diff: services/http_server/http_server.cc

Issue 703753005: More Windows build fixes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove generated files Created 6 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 | « net/BUILD.gn ('k') | third_party/iaccessible2/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/http_server/http_server.cc
diff --git a/services/http_server/http_server.cc b/services/http_server/http_server.cc
index 24e4fe7642078fc3e712822c6eb4012932adf6e2..bcbfd33d71e72528517a18970caa6dcf1d9244c2 100644
--- a/services/http_server/http_server.cc
+++ b/services/http_server/http_server.cc
@@ -3,7 +3,12 @@
// found in the LICENSE file.
#include <stdio.h>
+
+#if defined(OS_WIN)
+#include <winsock2.h>
+#elif defined(OS_POSIX)
#include <arpa/inet.h>
+#endif
#include "base/bind.h"
#include "base/memory/weak_ptr.h"
« no previous file with comments | « net/BUILD.gn ('k') | third_party/iaccessible2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698