summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-05-02 19:25:56 +0200
committerSander Vrijders <sander@ouroboros.rocks>2026-05-20 08:17:05 +0200
commitee329b9047532c7e9199bba2246992ea1a619df8 (patch)
tree46e209175df0b44f2661b6b7cd76a365fc3a78d5
parentb8fa5686097337ffb289ecfc00b2558ee54de74e (diff)
downloadouroboros-ee329b9047532c7e9199bba2246992ea1a619df8.tar.gz
ouroboros-ee329b9047532c7e9199bba2246992ea1a619df8.zip
lib: Use tpm.h for TPM test
The threadpool manager (TPM) test unnecessarily included the source instead of the header. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
-rw-r--r--include/ouroboros/tpm.h1
-rw-r--r--src/lib/tests/tpm_test.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/ouroboros/tpm.h b/include/ouroboros/tpm.h
index c01a235c..56c04701 100644
--- a/include/ouroboros/tpm.h
+++ b/include/ouroboros/tpm.h
@@ -24,6 +24,7 @@
#define OUROBOROS_LIB_TPM_H
#include <stdbool.h>
+#include <sys/types.h>
struct tpm;
diff --git a/src/lib/tests/tpm_test.c b/src/lib/tests/tpm_test.c
index df1d8850..7cc049cd 100644
--- a/src/lib/tests/tpm_test.c
+++ b/src/lib/tests/tpm_test.c
@@ -21,7 +21,7 @@
*/
-#include "tpm.c"
+#include <ouroboros/tpm.h>
#include <test/test.h>