aboutsummaryrefslogtreecommitdiff
path: root/backends/tpm/tpm_ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/tpm/tpm_ioctl.h')
-rw-r--r--backends/tpm/tpm_ioctl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/tpm/tpm_ioctl.h b/backends/tpm/tpm_ioctl.h
index f5f5c553a9..bd6c12cb86 100644
--- a/backends/tpm/tpm_ioctl.h
+++ b/backends/tpm/tpm_ioctl.h
@@ -12,6 +12,10 @@
#include <sys/uio.h>
#include <sys/ioctl.h>
+#ifdef HAVE_SYS_IOCCOM_H
+#include <sys/ioccom.h>
+#endif
+
/*
* Every response from a command involving a TPM command execution must hold
* the ptm_res as the first element.