aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_internal.h
diff options
context:
space:
mode:
authorMichael Bebenita <[email protected]>2010-08-09 08:06:08 -0700
committerMichael Bebenita <[email protected]>2010-08-09 08:06:08 -0700
commit5917ca35190b526b65b4d26ad0b98024ce9e0b09 (patch)
treec4076864029ecc75fd53fd4385caba4656d80080 /src/rt/rust_internal.h
parentAdded peek() to ptr_vec. (diff)
downloadrust-5917ca35190b526b65b4d26ad0b98024ce9e0b09.tar.xz
rust-5917ca35190b526b65b4d26ad0b98024ce9e0b09.zip
Fixed deadlock in the scheduler caused by condition variables.
Diffstat (limited to 'src/rt/rust_internal.h')
-rw-r--r--src/rt/rust_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h
index 4f2d8902..46ea843f 100644
--- a/src/rt/rust_internal.h
+++ b/src/rt/rust_internal.h
@@ -38,6 +38,7 @@ extern "C" {
#error "Platform not supported."
#endif
+#include "sync/sync.h"
#include "sync/condition_variable.h"
#ifndef __i386__