diff options
author | Robert Millan | 2014-08-24 18:04:41 +0200 |
---|---|---|
committer | Karel Zak | 2014-09-17 10:13:50 +0200 |
commit | 62efb93f36567cf704a5139aac17fa081e0229a9 (patch) | |
tree | 99207651bfd852f6c52e37e2c92c58acf368ac18 | |
parent | libmount: hide details about failed search in fstab/mtab (diff) | |
download | kernel-qcow2-util-linux-62efb93f36567cf704a5139aac17fa081e0229a9.tar.gz kernel-qcow2-util-linux-62efb93f36567cf704a5139aac17fa081e0229a9.tar.xz kernel-qcow2-util-linux-62efb93f36567cf704a5139aac17fa081e0229a9.zip |
lib/blkdev: report correct disk size on GNU/kFreeBSD. Thanks Tuco.
Addresses-Debian-Bug: 592292
-rw-r--r-- | lib/blkdev.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/blkdev.c b/lib/blkdev.c index f8182c0b3..a29352963 100644 --- a/lib/blkdev.c +++ b/lib/blkdev.c @@ -25,6 +25,10 @@ #include <sys/disk.h> #endif +#ifdef __FreeBSD_kernel__ +#include <sys/disk.h> +#endif + #include "blkdev.h" #include "c.h" #include "linux_version.h" |