summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2005-02-17 19:22:42 -0500
committerKevin Lim <ktlim@umich.edu>2005-02-17 19:22:42 -0500
commitf4d3f781f1a36d07700a2af98319b67b179f9e5d (patch)
treee37ed9b7610abe2e2a51e05de062ba314d5fe8b5
parentdd4220ec10e03db5743cfb5246696fd4c494829d (diff)
downloadgem5-f4d3f781f1a36d07700a2af98319b67b179f9e5d.tar.xz
Include errno.h to fix compile errors in gcc 3.4
sim/main.cc: Include errno.h --HG-- extra : convert_revision : ff91579ae590b3c1d11f7468b71f295e6f3edd68
-rw-r--r--sim/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/main.cc b/sim/main.cc
index 891931c2b..4352a90f4 100644
--- a/sim/main.cc
+++ b/sim/main.cc
@@ -31,6 +31,7 @@
///
#include <sys/types.h>
#include <sys/stat.h>
+#include <errno.h>
#include <libgen.h>
#include <stdlib.h>
#include <signal.h>