Need to #include <unistd.h> to build with pread
authorNathan Binkert <binkertn@umich.edu>
Fri, 2 Jul 2004 16:30:06 +0000 (12:30 -0400)
committerNathan Binkert <binkertn@umich.edu>
Fri, 2 Jul 2004 16:30:06 +0000 (12:30 -0400)
--HG--
extra : convert_revision : 1e5b3e5f1eaba3853d7d3da5546387c16932ab6a

arch/alpha/pseudo_inst.cc

index e23dc8baac161df22724e8b06e8027c97dd78f64..370266909231b57f9d3dbb9d02a7f07a1d497c82 100644 (file)
@@ -27,7 +27,9 @@
  */
 
 #include <fcntl.h>
+#include <unistd.h>
 #include <cstdio>
+
 #include <string>
 
 #include "arch/alpha/pseudo_inst.hh"