aboutsummaryrefslogtreecommitdiff
path: root/src/rt/globals.h
diff options
context:
space:
mode:
authorMichael Bebenita <[email protected]>2010-08-09 07:04:38 -0700
committerMichael Bebenita <[email protected]>2010-08-09 07:04:38 -0700
commitd2c2fbe7ca25affb69715a39922a91875eaad9c7 (patch)
treef9e987106358b83d06ddc00c6f8c2a459e67885a /src/rt/globals.h
parentChanged seemingly incorrect stk_field_valgrind_id. (diff)
downloadrust-d2c2fbe7ca25affb69715a39922a91875eaad9c7.tar.xz
rust-d2c2fbe7ca25affb69715a39922a91875eaad9c7.zip
Added timed_wait to condition variables.
Diffstat (limited to 'src/rt/globals.h')
-rw-r--r--src/rt/globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rt/globals.h b/src/rt/globals.h
index f8025a40..85aa5860 100644
--- a/src/rt/globals.h
+++ b/src/rt/globals.h
@@ -20,12 +20,14 @@ extern "C" {
}
#elif defined(__GNUC__)
#include <unistd.h>
+#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <dlfcn.h>
#include <pthread.h>
#include <errno.h>
+#include <time.h>
#else
#error "Platform not supported."
#endif