diff options
author | Patrick Steinhardt | 2018-09-26 08:23:08 +0200 |
---|---|---|
committer | Karel Zak | 2018-10-04 11:56:35 +0200 |
commit | 6529212d5b0cbef222c81f7ecb58444e21acb417 (patch) | |
tree | 040de142ffb5186494888a3f135b605899800733 /disk-utils | |
parent | libfdisk: fix printf format modifier (diff) | |
download | kernel-qcow2-util-linux-6529212d5b0cbef222c81f7ecb58444e21acb417.tar.gz kernel-qcow2-util-linux-6529212d5b0cbef222c81f7ecb58444e21acb417.tar.xz kernel-qcow2-util-linux-6529212d5b0cbef222c81f7ecb58444e21acb417.zip |
lsblk: fix unknown type `stat` caused by missing header
The structure `blkdev_cxt` has a `struct stat` member embedded, whose
size may not be known on some systems because of a missing include for
"sys/stat.h". On glibc-based systems, this header is included
transitively via "sys/statvfs.h", but on musl-based systems it is not.
Fix the resulting compile error due to unknown size of the struct by
including "sys/stat.h".
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Diffstat (limited to 'disk-utils')
0 files changed, 0 insertions, 0 deletions