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

Unified Diff: native_client_sdk/src/libraries/nacl_mounts/kernel_handle.cc

Issue 11280256: [NaCl SDK] Add arm gcc toolchain support to the SDK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
Index: native_client_sdk/src/libraries/nacl_mounts/kernel_handle.cc
diff --git a/native_client_sdk/src/libraries/nacl_mounts/kernel_handle.cc b/native_client_sdk/src/libraries/nacl_mounts/kernel_handle.cc
index 7eaac84bf61d22efa85adcfea2810f74c5058cbd..5103542454c9c9604bec1e27da4b7215391954e8 100644
--- a/native_client_sdk/src/libraries/nacl_mounts/kernel_handle.cc
+++ b/native_client_sdk/src/libraries/nacl_mounts/kernel_handle.cc
@@ -8,6 +8,11 @@
#include <fcntl.h>
#include <pthread.h>
+#ifndef WIN32
+// Needed for SEEK_SET/SEEK_CUR/SEEK_END.
+#include <unistd.h>
+#endif
+
#include "nacl_mounts/mount.h"
#include "nacl_mounts/mount_node.h"
« no previous file with comments | « native_client_sdk/src/libraries/gtest/library.dsc ('k') | native_client_sdk/src/libraries/nacl_mounts_test/example.dsc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698