summaryrefslogtreecommitdiffstats
path: root/disas
diff options
context:
space:
mode:
authorPeter Maydell2016-02-23 12:58:02 +0100
committerPeter Maydell2016-02-23 13:43:04 +0100
commite78490c44ccd90507750a563493bad6d27e3693a (patch)
tree9e0fff1d7d7bbec2344c8a81a8c6f11229cc4777 /disas
parentosdep.h: Define macros for the benefit of C++ before C++11 (diff)
downloadqemu-e78490c44ccd90507750a563493bad6d27e3693a.tar.gz
qemu-e78490c44ccd90507750a563493bad6d27e3693a.tar.xz
qemu-e78490c44ccd90507750a563493bad6d27e3693a.zip
disas/arm-a64.cc: Include osdep.h first
Rearrange include directives so that we include osdep.h first. This has to be done manually because clean-includes doesn't handle C++. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'disas')
-rw-r--r--disas/arm-a64.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/disas/arm-a64.cc b/disas/arm-a64.cc
index d4d46d5ff3..9280950ce3 100644
--- a/disas/arm-a64.cc
+++ b/disas/arm-a64.cc
@@ -17,12 +17,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "vixl/a64/disasm-a64.h"
-
extern "C" {
+#include "qemu/osdep.h"
#include "disas/bfd.h"
}
+#include "vixl/a64/disasm-a64.h"
+
using namespace vixl;
static Decoder *vixl_decoder = NULL;