summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering2010-03-16 13:46:58 +0100
committerKarel Zak2010-03-16 14:31:23 +0100
commit1675ed7819df8f36cb721428ed9aab3a6812c487 (patch)
treeb35c7bd39d9fc2ebd3b5191560ad65434c8c7125 /lib
parentmount: automatically detect and loop-mount regular files (diff)
downloadkernel-qcow2-util-linux-1675ed7819df8f36cb721428ed9aab3a6812c487.tar.gz
kernel-qcow2-util-linux-1675ed7819df8f36cb721428ed9aab3a6812c487.tar.xz
kernel-qcow2-util-linux-1675ed7819df8f36cb721428ed9aab3a6812c487.zip
lib: avoid compilation failure on rawhide
* lib/blkdev.c: Include <sys/stat.h>, for use of S_ISREG.
Diffstat (limited to 'lib')
-rw-r--r--lib/blkdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/blkdev.c b/lib/blkdev.c
index aa323f218..4b9e6fc67 100644
--- a/lib/blkdev.c
+++ b/lib/blkdev.c
@@ -1,5 +1,6 @@
#include <sys/types.h>
+#include <sys/stat.h>
#include <sys/ioctl.h>
#include <unistd.h>