summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:37 -0600
committerBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:37 -0600
commitcc1f5a4d1607a02246244b7a805cdb3b24bb259a (patch)
treeab91e984049942d11970ce4d19ade9e8061da05d /src
parentcc84eb813c9455e3f8b222fd884d794af9ae0e7a (diff)
downloadgem5-cc1f5a4d1607a02246244b7a805cdb3b24bb259a.tar.xz
base: remove header file to prevent a macro name collision
Diffstat (limited to 'src')
-rw-r--r--src/base/loader/dtb_object.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/loader/dtb_object.cc b/src/base/loader/dtb_object.cc
index e9bbceec4..986f6455d 100644
--- a/src/base/loader/dtb_object.cc
+++ b/src/base/loader/dtb_object.cc
@@ -28,13 +28,13 @@
* Authors: Anthony Gutierrez
*/
+#include "base/loader/dtb_object.hh"
+
#include <sys/mman.h>
-#include <err.h>
#include <unistd.h>
#include <cassert>
-#include "base/loader/dtb_object.hh"
#include "sim/byteswap.hh"
#include "fdt.h"
#include "libfdt.h"