]> err.no Git - util-linux/commitdiff
lib: avoid compilation failure on rawhide
authorJim Meyering <jim@meyering.net>
Tue, 16 Mar 2010 12:46:58 +0000 (13:46 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 16 Mar 2010 13:31:23 +0000 (14:31 +0100)
* lib/blkdev.c: Include <sys/stat.h>, for use of S_ISREG.

lib/blkdev.c

index aa323f21830f86aabd6c98e73dcdd9408412809f..4b9e6fc672fceb037012c30f93275b36dfcf4c59 100644 (file)
@@ -1,5 +1,6 @@
 
 #include <sys/types.h>
+#include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <unistd.h>