summaryrefslogtreecommitdiffstats
path: root/hw/tpm/tpm_int.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-06-12 10:54:37 +0200
committerStefan Berger2020-06-19 13:25:07 +0200
commitae9604013094fffe4d65d03874881f0a58a72167 (patch)
tree15365af0b05f4b1db426e5d01f85857e2481a97c /hw/tpm/tpm_int.h
parenthw/tpm: Do not include 'qemu/osdep.h' in header (diff)
downloadqemu-ae9604013094fffe4d65d03874881f0a58a72167.tar.gz
qemu-ae9604013094fffe4d65d03874881f0a58a72167.tar.xz
qemu-ae9604013094fffe4d65d03874881f0a58a72167.zip
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/tpm_int.h')
-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 3fb28a9d6c..fd5ebc6489 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", \