mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
tests/qtest: libqos: Rename malloc.h to libqos-malloc.h
The qtest/libqos directory is included via the "-I" option to search for header files when building qtest. Unfortunately the malloc.h has a name conflict with the standard libc header, leading to a build failure on the Windows host, due to the MinGW libc stdlib.h header file includes malloc.h and it now gets wrongly pointed to the one in the qtest/libqos directory. Rename "qtest/libqos/malloc.h" to "qtest/libqos/libqos-malloc.h" to avoid the namespace pollution. Signed-off-by: Xuzhou Cheng <xuzhou.cheng@windriver.com> Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20220824094029.1634519-26-bmeng.cn@gmail.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
e0e4c27c6f
commit
b243c73cf4
28 changed files with 27 additions and 27 deletions
|
@ -6,7 +6,7 @@ libqos_srcs = files(
|
|||
'qos_external.c',
|
||||
'pci.c',
|
||||
'fw_cfg.c',
|
||||
'malloc.c',
|
||||
'libqos-malloc.c',
|
||||
'libqos.c',
|
||||
'sdhci-cmd.c',
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue