summaryrefslogtreecommitdiffstats
path: root/migration
diff options
context:
space:
mode:
authorMarc-André Lureau2020-10-08 18:59:53 +0200
committerLaurent Vivier2020-10-13 13:33:46 +0200
commit662770af7c6e8cf02aebdbf53cae6828ea1e49aa (patch)
treedeaee06ee2e85a28c228fe291eabf0b1191d0280 /migration
parenttarget/sparc/int32_helper: Remove duplicated 'Tag Overflow' entry (diff)
downloadqemu-662770af7c6e8cf02aebdbf53cae6828ea1e49aa.tar.gz
qemu-662770af7c6e8cf02aebdbf53cae6828ea1e49aa.tar.xz
qemu-662770af7c6e8cf02aebdbf53cae6828ea1e49aa.zip
mingw: fix error __USE_MINGW_ANSI_STDIO redefined
Always put osdep.h first, and remove redundant stdlib.h include. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20201008165953.884599-1-marcandre.lureau@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'migration')
-rw-r--r--migration/dirtyrate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/migration/dirtyrate.c b/migration/dirtyrate.c
index 68577ef250..47f761e67a 100644
--- a/migration/dirtyrate.c
+++ b/migration/dirtyrate.c
@@ -10,8 +10,9 @@
* See the COPYING file in the top-level directory.
*/
-#include <zlib.h>
#include "qemu/osdep.h"
+
+#include <zlib.h>
#include "qapi/error.h"
#include "cpu.h"
#include "qemu/config-file.h"