aboutsummaryrefslogtreecommitdiff
path: root/contrib/elf2dmp/kdbg.h
diff options
context:
space:
mode:
authorViktor Prutyanov <viktor.prutyanov@phystech.edu>2018-12-20 04:24:39 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2019-02-05 16:50:17 +0100
commit4591f4ceefb80ebdded948080a839a21a331ecbb (patch)
tree27fb5ddfbf33d3e96517257f81eba359d19fdb74 /contrib/elf2dmp/kdbg.h
parent4ea1a21d8413b84d36d57a708c40a5a19b266584 (diff)
contrib/elf2dmp: fix structures definitions
Remove duplicate structures definitions in case of build for Windows hosts. Signed-off-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu> Message-Id: <20181220012441.13694-5-viktor.prutyanov@phystech.edu> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'contrib/elf2dmp/kdbg.h')
-rw-r--r--contrib/elf2dmp/kdbg.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/elf2dmp/kdbg.h b/contrib/elf2dmp/kdbg.h
index 851b57c321..002e3d0cd5 100644
--- a/contrib/elf2dmp/kdbg.h
+++ b/contrib/elf2dmp/kdbg.h
@@ -25,11 +25,15 @@ typedef struct DBGKD_GET_VERSION64 {
uint64_t DebuggerDataList;
} DBGKD_GET_VERSION64;
+#ifndef _WIN32
+typedef struct LIST_ENTRY64 {
+ struct LIST_ENTRY64 *Flink;
+ struct LIST_ENTRY64 *Blink;
+} LIST_ENTRY64;
+#endif
+
typedef struct DBGKD_DEBUG_DATA_HEADER64 {
- struct LIST_ENTRY64 {
- struct LIST_ENTRY64 *Flink;
- struct LIST_ENTRY64 *Blink;
- } List;
+ LIST_ENTRY64 List;
uint32_t OwnerTag;
uint32_t Size;
} DBGKD_DEBUG_DATA_HEADER64;