summaryrefslogtreecommitdiff
path: root/src/base/loader/ecoff_object.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/loader/ecoff_object.cc')
-rw-r--r--src/base/loader/ecoff_object.cc15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/base/loader/ecoff_object.cc b/src/base/loader/ecoff_object.cc
index d1719f1c6..2027a2e1e 100644
--- a/src/base/loader/ecoff_object.cc
+++ b/src/base/loader/ecoff_object.cc
@@ -31,14 +31,19 @@
#include <string>
#include "base/loader/ecoff_object.hh"
-#include "base/misc.hh"
#include "base/loader/symtab.hh"
-
-#include "base/trace.hh" // for DPRINTF
-
-#include "base/loader/exec_ecoff.h"
+#include "base/misc.hh"
+#include "base/trace.hh"
+#include "base/types.hh"
+
+// Only alpha will be able to load ecoff files for now.
+// base/types.hh and ecoff_machdep.h must be before the other .h files
+// because they are are gathered from other code bases and require some
+// typedefs from those files.
+#include "arch/alpha/ecoff_machdep.h"
#include "base/loader/coff_sym.h"
#include "base/loader/coff_symconst.h"
+#include "base/loader/exec_ecoff.h"
using namespace std;