add missing #include
authorAndrew Waterman <waterman@cs.berkeley.edu>
Tue, 26 Mar 2013 03:04:54 +0000 (20:04 -0700)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Tue, 26 Mar 2013 03:04:54 +0000 (20:04 -0700)
riscv/sim.cc

index 6d98d8e122e8b776f4e6f58865f7229a91ef34eb..1cac94f25babe5c4a0ff6f7df0a1ebd2f6b7d802 100644 (file)
@@ -5,6 +5,7 @@
 #include <iostream>
 #include <climits>
 #include <assert.h>
+#include <unistd.h>
 
 #ifdef __linux__
 # define mmap mmap64