aboutsummaryrefslogtreecommitdiffstats
path: root/agent/divert-tpm2.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/divert-tpm2.c')
-rw-r--r--agent/divert-tpm2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/agent/divert-tpm2.c b/agent/divert-tpm2.c
index deb655a47..84935dee2 100644
--- a/agent/divert-tpm2.c
+++ b/agent/divert-tpm2.c
@@ -8,6 +8,12 @@
#include <unistd.h>
#include <sys/stat.h>
+/* FIXME: Until we have a proper checking in configure we give a hint
+ * on what to do */
+#ifndef HAVE_TSS2_TSS_H
+# error Please install the libtss2 dev package first
+#endif
+
#include "agent.h"
#include "../common/i18n.h"
#include "../common/sexp-parse.h"