Skip to content

Commit

Permalink
Merge pull request #331 from dgarske/autoconf_2
Browse files Browse the repository at this point in the history
Fix for two missed files for config.h
  • Loading branch information
embhorn authored Feb 9, 2024
2 parents cbcb011 + ada4721 commit aded0e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/pcr/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@

/* This is a helper tool for reseting the value of a TPM2.0 PCR */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <wolftpm/tpm2_wrap.h>

#ifndef WOLFTPM2_NO_WRAPPER
Expand Down
3 changes: 3 additions & 0 deletions tests/unit_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@

/* wolfTPM 2.0 unit tests */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <wolftpm/tpm2.h>
#include <wolftpm/tpm2_wrap.h>
Expand Down

0 comments on commit aded0e9

Please sign in to comment.