9c06a1f79f
Older gcc versions (such as the one in SLES11) get confused when you declare a typedef on the same struct twice. To work around that limitation, let's extract the QEMUMachine typedef into a separate header file that is guarded by preprocessor duplicate include checks. This fixes the following type of compile errors for me: In file included from vl.c:125: include/hw/xen/xen.h:39: error: redefinition of typedef "QEMUMachine" include/sysemu/kvm.h:155: error: previous declaration of "QEMUMachine" was here Signed-off-by: Alexander Graf <agraf@suse.de> |
||
---|---|---|
.. | ||
arch_init.h | ||
balloon.h | ||
blockdev.h | ||
bt.h | ||
char.h | ||
cpus.h | ||
device_tree.h | ||
dma.h | ||
dump.h | ||
kvm.h | ||
memory_mapping.h | ||
os-posix.h | ||
os-win32.h | ||
qemumachine.h | ||
qtest.h | ||
rng-random.h | ||
rng.h | ||
seccomp.h | ||
sysemu.h | ||
tpm_backend_int.h | ||
tpm_backend.h | ||
tpm.h | ||
watchdog.h | ||
xen-mapcache.h |