fix clang compile error
authorScott Beamer <sbeamer@eecs.berkeley.edu>
Sat, 11 Jul 2015 02:38:22 +0000 (19:38 -0700)
committerScott Beamer <sbeamer@eecs.berkeley.edu>
Sat, 11 Jul 2015 02:38:22 +0000 (19:38 -0700)
riscv/mmu.h

index 4ca9d0aaedce911aba7ff4eb7144a56b2ef253fd..ddb1d51e1fa8b4d23ff40e2a96aa2102c89aa16f 100644 (file)
@@ -9,6 +9,7 @@
 #include "config.h"
 #include "processor.h"
 #include "memtracer.h"
+#include <stdlib.h>
 #include <vector>
 
 // virtual memory configuration