summaryrefslogtreecommitdiffstats
path: root/include/sysemu
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2017-10-24 14:20:42 +0200
committerStefan Berger2017-10-24 19:37:13 +0200
commit6b287efecf474f66d69a8c2032ffb9bda7313944 (patch)
treee6454c974cefb143e871a53c3d2e4ee799b0dc62 /include/sysemu
parentMerge remote-tracking branch 'remotes/kraxel/tags/usb-20171023-pull-request' ... (diff)
downloadqemu-6b287efecf474f66d69a8c2032ffb9bda7313944.tar.gz
qemu-6b287efecf474f66d69a8c2032ffb9bda7313944.tar.xz
qemu-6b287efecf474f66d69a8c2032ffb9bda7313944.zip
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>
Diffstat (limited to 'include/sysemu')
-rw-r--r--include/sysemu/tpm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/tpm.h b/include/sysemu/tpm.h
index c8afa179e5..d7a2bd8556 100644
--- a/include/sysemu/tpm.h
+++ b/include/sysemu/tpm.h
@@ -13,6 +13,7 @@
#define QEMU_TPM_H
#include "qemu/option.h"
+#include "qom/object.h"
typedef struct TPMState TPMState;