From 90ce6e2644db2c47d72f364b4de57342e50bd10a Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 23 Feb 2016 11:58:03 +0000 Subject: include: Clean up includes Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. NB: If this commit breaks compilation for your out-of-tree patchseries or fork, then you need to make sure you add #include "qemu/osdep.h" to any new .c files that you have. Signed-off-by: Peter Maydell Reviewed-by: Eric Blake --- include/migration/migration.h | 1 - include/migration/qemu-file.h | 1 - 2 files changed, 2 deletions(-) (limited to 'include/migration') diff --git a/include/migration/migration.h b/include/migration/migration.h index 74684ad929..65d47a9627 100644 --- a/include/migration/migration.h +++ b/include/migration/migration.h @@ -18,7 +18,6 @@ #include "qemu-common.h" #include "qemu/thread.h" #include "qemu/notify.h" -#include "qapi/error.h" #include "migration/vmstate.h" #include "qapi-types.h" #include "exec/cpu-common.h" diff --git a/include/migration/qemu-file.h b/include/migration/qemu-file.h index b5d08d217d..3f6b4ed581 100644 --- a/include/migration/qemu-file.h +++ b/include/migration/qemu-file.h @@ -25,7 +25,6 @@ #define QEMU_FILE_H 1 #include "exec/cpu-common.h" -#include /* This function writes a chunk of data to a file at the given position. * The pos argument can be ignored if the file is only being used for -- cgit v1.2.3-55-g7522