mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
tpm: add missing include
else file including "sysemu/tpm.h" fails to compile: In file included from qemu/stubs/tpm.c:2:0: qemu/include/sysemu/tpm.h:36:19: error: implicit declaration of function ‘object_resolve_path_type’ [-Werror=implicit-function-declaration] Object *obj = object_resolve_path_type("", TYPE_TPM_TIS, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Richard W.M. Jones <rjones@redhat.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
parent
3d7196d43b
commit
6b287efecf
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
#define QEMU_TPM_H
|
||||
|
||||
#include "qemu/option.h"
|
||||
#include "qom/object.h"
|
||||
|
||||
typedef struct TPMState TPMState;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue