summaryrefslogtreecommitdiffstats
path: root/base/threading
diff options
context:
space:
mode:
authorbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-25 00:56:14 +0000
committerbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-25 00:56:14 +0000
commitc47ad0d702902a300be43d6e3ff348bc16efd26c (patch)
tree6c05e589798e3de0bdc7a6b2c3916bca2d6bd8fa /base/threading
parent448d14a332acd24a5a3df93071d32caf39b98354 (diff)
downloadchromium_src-c47ad0d702902a300be43d6e3ff348bc16efd26c.zip
chromium_src-c47ad0d702902a300be43d6e3ff348bc16efd26c.tar.gz
chromium_src-c47ad0d702902a300be43d6e3ff348bc16efd26c.tar.bz2
Make more of base compile with the Native Client toolchain.
This is needed to get parts of the PPAPI proxy to compile as untrusted code. Leaving base.gypi unchanged even though this adds files, as they are only used by experimental target. BUG=none TEST=none Review URL: http://codereview.chromium.org/9465017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/threading')
-rw-r--r--base/threading/platform_thread_posix.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/threading/platform_thread_posix.cc b/base/threading/platform_thread_posix.cc
index 978b21b..cfcabe5 100644
--- a/base/threading/platform_thread_posix.cc
+++ b/base/threading/platform_thread_posix.cc
@@ -30,6 +30,11 @@
#include "base/android/jni_android.h"
#endif
+// TODO(bbudge) Use time.h when NaCl toolchain supports _POSIX_TIMERS
+#if defined(OS_NACL)
+#include <sys/nacl_syscalls.h>
+#endif
+
namespace base {
#if defined(OS_MACOSX)