diff --git a/examples/pcr/reset.c b/examples/pcr/reset.c index 7ed1d80..e2caf50 100644 --- a/examples/pcr/reset.c +++ b/examples/pcr/reset.c @@ -21,6 +21,10 @@ /* This is a helper tool for reseting the value of a TPM2.0 PCR */ +#ifdef HAVE_CONFIG_H + #include +#endif + #include #ifndef WOLFTPM2_NO_WRAPPER diff --git a/tests/unit_tests.c b/tests/unit_tests.c index ab2fffe..301db1b 100644 --- a/tests/unit_tests.c +++ b/tests/unit_tests.c @@ -21,6 +21,9 @@ /* wolfTPM 2.0 unit tests */ +#ifdef HAVE_CONFIG_H + #include +#endif #include #include