aboutsummaryrefslogtreecommitdiff
path: root/migration/postcopy-ram.c
diff options
context:
space:
mode:
Diffstat (limited to 'migration/postcopy-ram.c')
-rw-r--r--migration/postcopy-ram.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/migration/postcopy-ram.c b/migration/postcopy-ram.c
index 3946aa98aa..02b28edb72 100644
--- a/migration/postcopy-ram.c
+++ b/migration/postcopy-ram.c
@@ -16,9 +16,8 @@
* source to the destination before all the data has been copied.
*/
+#include "qemu/osdep.h"
#include <glib.h>
-#include <stdio.h>
-#include <unistd.h>
#include "qemu-common.h"
#include "migration/migration.h"
@@ -57,7 +56,6 @@ struct PostcopyDiscardState {
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <sys/syscall.h>
-#include <sys/types.h>
#include <asm/types.h> /* for __u64 */
#endif