From 662770af7c6e8cf02aebdbf53cae6828ea1e49aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 8 Oct 2020 20:59:53 +0400 Subject: mingw: fix error __USE_MINGW_ANSI_STDIO redefined MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Always put osdep.h first, and remove redundant stdlib.h include. Signed-off-by: Marc-André Lureau Reviewed-by: Peter Maydell Reviewed-by: Stefan Weil Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20201008165953.884599-1-marcandre.lureau@redhat.com> Signed-off-by: Laurent Vivier --- migration/dirtyrate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'migration/dirtyrate.c') diff --git a/migration/dirtyrate.c b/migration/dirtyrate.c index 68577ef..47f761e 100644 --- a/migration/dirtyrate.c +++ b/migration/dirtyrate.c @@ -10,8 +10,9 @@ * See the COPYING file in the top-level directory. */ -#include #include "qemu/osdep.h" + +#include #include "qapi/error.h" #include "cpu.h" #include "qemu/config-file.h" -- cgit v1.1