Fixes 4.6.1 compiler build with gcc 4.7 (XCC)
[akaros.git] / tests / mproctests.c
index 211151d..995c133 100644 (file)
@@ -5,8 +5,13 @@
 #include <vcore.h>
 #include <ros/mman.h>
 #include <ros/resource.h>
-#include <rstdio.h>
+#include <stdio.h>
 #include <timing.h>
+#include <uthread.h>
+
+#ifdef __sparc_v8__
+# define udelay(x) udelay((x)/2000)
+#endif
 
 #define TEST_MMAP                                       1
 #define TEST_ONE_CORE                           2