diff options
author | mcgrathr@chromium.org <mcgrathr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 16:47:44 +0000 |
---|---|---|
committer | mcgrathr@chromium.org <mcgrathr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 16:47:44 +0000 |
commit | 9ae5a3b24a487a39e3ef212be4c3c0994d01cf2f (patch) | |
tree | da31068aaf6e99cb4c5d7d33ba85b56ee4e12614 /ppapi | |
parent | 0e4c8cd00f0181924b4229f1cadd1319108d02bc (diff) | |
download | chromium_src-9ae5a3b24a487a39e3ef212be4c3c0994d01cf2f.zip chromium_src-9ae5a3b24a487a39e3ef212be4c3c0994d01cf2f.tar.gz chromium_src-9ae5a3b24a487a39e3ef212be4c3c0994d01cf2f.tar.bz2 |
IWYU nit in ppapi_proxy
Technically one is always supposed to do #include <sys/types.h> before
doing #include <sys/mman.h>. For the newlib <sys/mman.h> this
actually matters, as otherwise off_t will be undefined when it's used
in the mmap prototype. Newer libstdc++ no longer implicitly includes
<sys/types.h> in places that it used to, so this nit is newly noticed.
BUG= none
TEST= none
R=sehr@google.com
Review URL: https://chromiumcodereview.appspot.com/10540020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140777 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/native_client/src/shared/ppapi_proxy/command_buffer_nacl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/command_buffer_nacl.cc b/ppapi/native_client/src/shared/ppapi_proxy/command_buffer_nacl.cc index 4a83a04..95b7028 100644 --- a/ppapi/native_client/src/shared/ppapi_proxy/command_buffer_nacl.cc +++ b/ppapi/native_client/src/shared/ppapi_proxy/command_buffer_nacl.cc @@ -1,9 +1,10 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "native_client/src/shared/ppapi_proxy/command_buffer_nacl.h" +#include <sys/types.h> #include <sys/mman.h> #include "gpu/command_buffer/common/logging.h" #include "native_client/src/shared/ppapi_proxy/plugin_globals.h" |