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

Side by Side Diff: ppapi/nacl_irt/irt_ppapi.cc

Issue 651643007: NaCl: Add missing #include of <unistd.h> to get sysconf() (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <unistd.h>
6
5 #include "native_client/src/public/irt_core.h" 7 #include "native_client/src/public/irt_core.h"
6 #include "native_client/src/trusted/service_runtime/include/sys/unistd.h" 8 #include "native_client/src/trusted/service_runtime/include/sys/unistd.h"
7 #include "native_client/src/untrusted/irt/irt.h" 9 #include "native_client/src/untrusted/irt/irt.h"
8 #include "native_client/src/untrusted/irt/irt_private.h" 10 #include "native_client/src/untrusted/irt/irt_private.h"
9 #include "ppapi/nacl_irt/irt_manifest.h" 11 #include "ppapi/nacl_irt/irt_manifest.h"
10 #include "ppapi/nacl_irt/irt_ppapi.h" 12 #include "ppapi/nacl_irt/irt_ppapi.h"
11 #include "ppapi/nacl_irt/plugin_main.h" 13 #include "ppapi/nacl_irt/plugin_main.h"
12 #include "ppapi/nacl_irt/public/irt_ppapi.h" 14 #include "ppapi/nacl_irt/public/irt_ppapi.h"
13 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/irt_shim_ppapi.h" 15 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/irt_shim_ppapi.h"
14 16
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 void* table, size_t tablesize) { 74 void* table, size_t tablesize) {
73 size_t result = nacl_irt_query_list(interface_ident, 75 size_t result = nacl_irt_query_list(interface_ident,
74 table, 76 table,
75 tablesize, 77 tablesize,
76 irt_interfaces, 78 irt_interfaces,
77 sizeof(irt_interfaces)); 79 sizeof(irt_interfaces));
78 if (result != 0) 80 if (result != 0)
79 return result; 81 return result;
80 return nacl_irt_query_core(interface_ident, table, tablesize); 82 return nacl_irt_query_core(interface_ident, table, tablesize);
81 } 83 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698