summaryrefslogtreecommitdiff
path: root/src/mem/port.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/port.cc')
-rw-r--r--src/mem/port.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/port.cc b/src/mem/port.cc
index 91b9408eb..2111fa429 100644
--- a/src/mem/port.cc
+++ b/src/mem/port.cc
@@ -46,9 +46,10 @@
* @file
* Port object definitions.
*/
+#include "mem/port.hh"
+
#include "base/trace.hh"
#include "mem/mem_object.hh"
-#include "mem/port.hh"
Port::Port(const std::string &_name, MemObject& _owner, PortID _id)
: portName(_name), id(_id), owner(_owner)