aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_internal.h
diff options
context:
space:
mode:
authorLindsey Kuper <[email protected]>2011-03-24 18:20:49 -0700
committerGraydon Hoare <[email protected]>2011-03-25 00:15:56 -0700
commitbcc104ce79f153cd853920ff924e13f84793b61c (patch)
treeb751831c7db8f242cb1097f5e07c44cbb8556bd8 /src/rt/rust_internal.h
parentbuild: Generate an object file for stage0/libstd.dylib (diff)
downloadrust-bcc104ce79f153cd853920ff924e13f84793b61c.tar.xz
rust-bcc104ce79f153cd853920ff924e13f84793b61c.zip
A first stab at the 'nbody' demo, with support for calling C sqrt().
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 5bd62d2b..a1cc8e51 100644
--- a/src/rt/rust_internal.h
+++ b/src/rt/rust_internal.h
@@ -16,6 +16,7 @@
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
+#include <math.h>
#include "rust.h"
#include "rand.h"