diff --git a/src/swtpm/mainloop.c b/src/swtpm/mainloop.c index d2d7bcce..74fc233f 100644 --- a/src/swtpm/mainloop.c +++ b/src/swtpm/mainloop.c @@ -40,6 +40,8 @@ It reads a TPM request, processes the ordinal, and writes the response */ +#include + #include #include #include diff --git a/src/swtpm/tpmlib.h b/src/swtpm/tpmlib.h index 90f9cb86..48c5f198 100644 --- a/src/swtpm/tpmlib.h +++ b/src/swtpm/tpmlib.h @@ -38,6 +38,8 @@ #ifndef _SWTPM_TPMLIB_H_ #define _SWTPM_TPMLIB_H_ +#include /* ensure consistent definition of _FILE_OFFSET_BITS */ + #include #include