summaryrefslogtreecommitdiff
path: root/arch/alpha
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-07-02 12:30:06 -0400
committerNathan Binkert <binkertn@umich.edu>2004-07-02 12:30:06 -0400
commit0e575e9f262551374db2fbbe482fc5507f3211ab (patch)
tree7a1b8ca5773cf7482a2dab0d4fc46d9eb8b92e00 /arch/alpha
parent6083c8280b3042ddbdbdfc3868a26bd69712d4d7 (diff)
downloadgem5-0e575e9f262551374db2fbbe482fc5507f3211ab.tar.xz
Need to #include <unistd.h> to build with pread
--HG-- extra : convert_revision : 1e5b3e5f1eaba3853d7d3da5546387c16932ab6a
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/pseudo_inst.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/alpha/pseudo_inst.cc b/arch/alpha/pseudo_inst.cc
index e23dc8baa..370266909 100644
--- a/arch/alpha/pseudo_inst.cc
+++ b/arch/alpha/pseudo_inst.cc
@@ -27,7 +27,9 @@
*/
#include <fcntl.h>
+#include <unistd.h>
#include <cstdio>
+
#include <string>
#include "arch/alpha/pseudo_inst.hh"