aboutsummaryrefslogtreecommitdiff
path: root/dump-stub.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-06-08 19:57:25 +0200
committerBlue Swirl <blauwirbel@gmail.com>2012-06-09 10:18:53 +0000
commit7baa82079f089dd2c6f42b11c39ba0fd9f1ab85d (patch)
tree33d19b7ee01705921d01f46fc3ad71a5db479504 /dump-stub.c
parentfa79c914efd35cb60e0bc18512c03690c48b13e2 (diff)
dump: Fix build breakage (missing sys/procfs.h)
sys/procfs is not available everywhere (MingW does not have it). Remove this and more unused or redundant include statements. This fixes the broken build. qerror.h was previously included indirectly. Add an explicit include statement for it because it is needed. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'dump-stub.c')
-rw-r--r--dump-stub.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/dump-stub.c b/dump-stub.c
index 4c8bedb6ce..165c005b42 100644
--- a/dump-stub.c
+++ b/dump-stub.c
@@ -12,22 +12,9 @@
*/
#include "qemu-common.h"
-#include <unistd.h>
-#include "elf.h"
-#include <sys/procfs.h>
-#include <glib.h>
-#include "cpu.h"
-#include "cpu-all.h"
-#include "targphys.h"
-#include "monitor.h"
-#include "kvm.h"
#include "dump.h"
-#include "sysemu.h"
-#include "bswap.h"
-#include "memory_mapping.h"
-#include "error.h"
+#include "qerror.h"
#include "qmp-commands.h"
-#include "gdbstub.h"
/* we need this function in hmp.c */
void qmp_dump_guest_memory(bool paging, const char *file, bool has_begin,