diff options
author | bcwhite <bcwhite@chromium.org> | 2015-11-30 11:09:33 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-30 19:10:24 +0000 |
commit | e2452b1f6a0fd3f6ce592acc9a7741dac7c6d76a (patch) | |
tree | 2e0a2c0fd607fb83c16f664a5f531831218fd379 /components | |
parent | a042ba7e0ac563546841a9ddcc35967e8e25ef73 (diff) | |
download | chromium_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.cc | 2 |
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" |