summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-02-17 02:50:34 -0500
committerNathan Binkert <binkertn@umich.edu>2005-02-17 02:50:34 -0500
commit5de3bba7589cc5c084af8e688a46f1b32566522f (patch)
treeb774f0d0ee9eb1a60782290e12544d100b8c5c9e
parenta24016c731a69c47e694458f7f564ef1630d34c1 (diff)
downloadgem5-5de3bba7589cc5c084af8e688a46f1b32566522f.tar.xz
Make code more portable.
sim/main.cc: basename is in libgen --HG-- extra : convert_revision : 1af6ff2f492b4deee9e56edfa5ee6ea235cd4eb0
-rw-r--r--sim/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/main.cc b/sim/main.cc
index 1748294af..d4c31d5f2 100644
--- a/sim/main.cc
+++ b/sim/main.cc
@@ -31,6 +31,7 @@
///
#include <sys/types.h>
#include <sys/stat.h>
+#include <libgen.h>
#include <stdlib.h>
#include <signal.h>