about summary refs log tree commit diff
path: root/src/rt/rust_uv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_uv.c')
-rw-r--r--src/rt/rust_uv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rt/rust_uv.c b/src/rt/rust_uv.c
index 9c9f7d14e5a..3156d2a1fd4 100644
--- a/src/rt/rust_uv.c
+++ b/src/rt/rust_uv.c
@@ -8,6 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#include <stdlib.h>
+#include <assert.h>
+
 #ifdef __WIN32__
 // For alloca
 #include <malloc.h>
@@ -20,8 +23,6 @@
 
 #include "uv.h"
 
-#include "rust_globals.h"
-
 void*
 rust_uv_loop_new() {
 // XXX libuv doesn't always ignore SIGPIPE even though we don't need it.