aboutsummaryrefslogtreecommitdiff
path: root/hw/tpm
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-06-12 10:54:37 +0200
committerStefan Berger <stefanb@linux.vnet.ibm.com>2020-06-19 07:25:07 -0400
commitae9604013094fffe4d65d03874881f0a58a72167 (patch)
tree15365af0b05f4b1db426e5d01f85857e2481a97c /hw/tpm
parent29ce02bfb9fc79fec151dd450f54655e9aff2c50 (diff)
downloadqemu-ae9604013094fffe4d65d03874881f0a58a72167.zip
qemu-ae9604013094fffe4d65d03874881f0a58a72167.tar.gz
qemu-ae9604013094fffe4d65d03874881f0a58a72167.tar.bz2
hw/tpm: Include missing 'qemu/option.h' header
Files using the TPM_STANDARD_CMDLINE_OPTS macro declared in "tpm_int.h" will use QEMU_OPT_STRING definition declared in "qemu/option.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Message-id: 20200612085444.8362-6-philmd@redhat.com Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'hw/tpm')
-rw-r--r--hw/tpm/tpm_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/tpm/tpm_int.h b/hw/tpm/tpm_int.h
index 3fb28a9..fd5ebc6 100644
--- a/hw/tpm/tpm_int.h
+++ b/hw/tpm/tpm_int.h
@@ -12,6 +12,8 @@
#ifndef TPM_TPM_INT_H
#define TPM_TPM_INT_H
+#include "qemu/option.h"
+
#define TPM_STANDARD_CMDLINE_OPTS \
{ \
.name = "type", \