commit | 0841299317ab3e12eea90d424171396ab7a944ec | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.ibm.com> | Tue Oct 05 11:17:01 2021 -0400 |
committer | Stefan Berger <stefanb@us.ibm.com> | Tue Oct 05 13:50:45 2021 -0400 |
tree | 2a99a2e8825833b0b4f9543fda8dfbb5a2efdfee | |
parent | a4555cb887cbd55643fc394c8f64aab28a2a6b98 [diff] |
swtpm: Use sys/mount.h and support block devs only if BLKGETSIZE64 exists The header file fs/linux.h only exists on Linux but we can also use sys/mount.h, which also exists on Cygwin and the BSDs. Only support block devices if BLKGETSIZE64 is defined. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>