summary refs log tree commit diff stats
path: root/include/migration
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-23 11:58:03 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-23 12:43:05 +0000
commit90ce6e2644db2c47d72f364b4de57342e50bd10a (patch)
tree0107d6e91d0e48618720b4c5d4fd00740ae6fcbd /include/migration
parent974dc73d778a3b1c09a06a6a41af159537eba595 (diff)
downloadfocaccia-qemu-90ce6e2644db2c47d72f364b4de57342e50bd10a.tar.gz
focaccia-qemu-90ce6e2644db2c47d72f364b4de57342e50bd10a.zip
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 <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/migration')
-rw-r--r--include/migration/migration.h1
-rw-r--r--include/migration/qemu-file.h1
2 files changed, 0 insertions, 2 deletions
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 <stdint.h>
 
 /* 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