]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib/blkdev: report correct disk size on GNU/kFreeBSD. Thanks Tuco.
authorRobert Millan <rmh@debian.org>
Sun, 24 Aug 2014 16:04:41 +0000 (18:04 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 17 Sep 2014 08:13:50 +0000 (10:13 +0200)
Addresses-Debian-Bug: 592292

lib/blkdev.c

index f8182c0b3ba4ae927ea6bf4993f325846746cf1f..a293529631cbe4218dc2a149d8e1176da306eed1 100644 (file)
 #include <sys/disk.h>
 #endif
 
+#ifdef __FreeBSD_kernel__
+#include <sys/disk.h>
+#endif
+
 #include "blkdev.h"
 #include "c.h"
 #include "linux_version.h"