]> git.proxmox.com Git - mirror_qemu.git/commitdiff
test/tpm-emu: include sockets and channel headers in tpm-emu header
authorEric Auger <eric.auger@redhat.com>
Tue, 9 Jun 2020 12:54:05 +0000 (14:54 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Jun 2020 18:18:04 +0000 (14:18 -0400)
Include sockets and channel headers to that the header is
self-contained.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Message-Id: <20200609125409.24179-2-eric.auger@redhat.com>

tests/qtest/tpm-emu.h

index a4f1d6422695ec7633b264ca6d27412bdc2ce940..73f3bed0c4bceeefb14b3c8fa219eefa746907ed 100644 (file)
@@ -16,6 +16,9 @@
 #define TPM_RC_FAILURE 0x101
 #define TPM2_ST_NO_SESSIONS 0x8001
 
+#include "qemu/sockets.h"
+#include "io/channel.h"
+
 struct tpm_hdr {
     uint16_t tag;
     uint32_t len;