test/tpm-emu: include sockets and channel headers in tpm-emu header

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>
This commit is contained in:
Eric Auger 2020-06-09 14:54:05 +02:00 committed by Michael S. Tsirkin
parent 80bde69353
commit 266345a867
1 changed files with 3 additions and 0 deletions

View 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;