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 12:43:04 +0000
commite78490c44ccd90507750a563493bad6d27e3693a (patch)
tree9e0fff1d7d7bbec2344c8a81a8c6f11229cc4777
parent79f56d82f805b170fa2be8c04b682117be56483f (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;