aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-23 11:58:02 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-23 11:58:02 +0000
commit5af54a088c242d84979e007883111dc77bb2698d (patch)
tree9e0fff1d7d7bbec2344c8a81a8c6f11229cc4777
parent268e613cf3cf295329f7011ee8a5c68e31579b65 (diff)
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>
-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;