summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2010-03-16 13:46:58 +0100
committerKarel Zak <kzak@redhat.com>2010-03-16 14:31:23 +0100
commit1675ed7819df8f36cb721428ed9aab3a6812c487 (patch)
treeb35c7bd39d9fc2ebd3b5191560ad65434c8c7125
parente580266914734898999f652025f9c7141023df66 (diff)
downloadutil-linux-old-1675ed7819df8f36cb721428ed9aab3a6812c487.tar.gz
lib: avoid compilation failure on rawhide
* lib/blkdev.c: Include <sys/stat.h>, for use of S_ISREG.
-rw-r--r--lib/blkdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/blkdev.c b/lib/blkdev.c
index aa323f21..4b9e6fc6 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>