]> git.proxmox.com Git - mirror_qemu.git/commit
tpm: add missing include
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 24 Oct 2017 12:20:42 +0000 (09:20 -0300)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 24 Oct 2017 17:37:13 +0000 (13:37 -0400)
commit6b287efecf474f66d69a8c2032ffb9bda7313944
treee6454c974cefb143e871a53c3d2e4ee799b0dc62
parent3d7196d43bfe12efe98568cb60057e273652b99b
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>
include/sysemu/tpm.h