From: Peter Maydell Date: Mon, 8 Feb 2016 19:11:45 +0000 (+0000) Subject: hw/block/nand.c: Include osdep.h first X-Git-Tag: TizenStudio_2.0_p2.4~27^2~6^2~8^2~194 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74c0e4744103652764cdf564849239b8dd426f15;p=sdk%2Femulator%2Fqemu.git hw/block/nand.c: Include osdep.h first Include osdep.h as the first header in nand.c; this has to be done manually because coccinelle gets confused by the way that this C file includes itself. We fix some odd spacing in #includes while we are in the area. Signed-off-by: Peter Maydell Reviewed-by: Eric Blake --- diff --git a/hw/block/nand.c b/hw/block/nand.c index 478e1a6..f51e13f 100644 --- a/hw/block/nand.c +++ b/hw/block/nand.c @@ -18,8 +18,9 @@ #ifndef NAND_IO -# include "hw/hw.h" -# include "hw/block/flash.h" +#include "qemu/osdep.h" +#include "hw/hw.h" +#include "hw/block/flash.h" #include "sysemu/block-backend.h" #include "hw/qdev.h" #include "qemu/error-report.h"