summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorbcwhite <bcwhite@chromium.org>2015-11-30 11:09:33 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-30 19:10:24 +0000
commite2452b1f6a0fd3f6ce592acc9a7741dac7c6d76a (patch)
tree2e0a2c0fd607fb83c16f664a5f531831218fd379 /components
parenta042ba7e0ac563546841a9ddcc35967e8e25ef73 (diff)
downloadchromium_src-e2452b1f6a0fd3f6ce592acc9a7741dac7c6d76a.zip
chromium_src-e2452b1f6a0fd3f6ce592acc9a7741dac7c6d76a.tar.gz
chromium_src-e2452b1f6a0fd3f6ce592acc9a7741dac7c6d76a.tar.bz2
Removed unused include of winsock.h/inet.h from sys_byteorder.h.
The sys_byteorder methods no longer use htonl() and friends and so the include in not necessary. Several files, however, expect those system methods to be available after including sys_byteorder.h so they have been changed to use the methods defined within sys_byteorder.h instead. TBR=jam BUG= Review URL: https://codereview.chromium.org/1471073010 Cr-Commit-Position: refs/heads/master@{#362179}
Diffstat (limited to 'components')
-rw-r--r--components/nacl/browser/nacl_process_host.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc
index 3dfc1d8..6d44c35 100644
--- a/components/nacl/browser/nacl_process_host.cc
+++ b/components/nacl/browser/nacl_process_host.cc
@@ -60,6 +60,7 @@
#if defined(OS_POSIX)
+#include <arpa/inet.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <sys/socket.h>
@@ -67,6 +68,7 @@
#include "ipc/ipc_channel_posix.h"
#elif defined(OS_WIN)
#include <windows.h>
+#include <winsock2.h>
#include "base/threading/thread.h"
#include "base/win/scoped_handle.h"