From: Marc-André Lureau <marcandre.lur...@redhat.com> Always put osdep.h first, and remove redundant stdlib.h include.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Reviewed-by: Stefan Weil <s...@weilnetz.de> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Message-Id: <20201008165953.884599-1-marcandre.lur...@redhat.com> Signed-off-by: Laurent Vivier <laur...@vivier.eu> --- migration/dirtyrate.c | 3 ++- tests/test-bitmap.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/migration/dirtyrate.c b/migration/dirtyrate.c index 68577ef25028..47f761e67acb 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" diff --git a/tests/test-bitmap.c b/tests/test-bitmap.c index 2f5b71458a3d..8db4f67883fe 100644 --- a/tests/test-bitmap.c +++ b/tests/test-bitmap.c @@ -8,7 +8,6 @@ * Author: Peter Xu <pet...@redhat.com> */ -#include <stdlib.h> #include "qemu/osdep.h" #include "qemu/bitmap.h" -- 2.26.2