From: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> Compiler warning: 'struct stat' will not be visible outside of this function [-Wvisibility] Signed-off-by: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> --- include/blkdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/blkdev.h b/include/blkdev.h index 46fb2ce..62eda82 100644 --- a/include/blkdev.h +++ b/include/blkdev.h @@ -14,6 +14,7 @@ #endif #include <fcntl.h> #include <unistd.h> +#include <sys/stat.h> #ifdef HAVE_SYS_MKDEV_H # include <sys/mkdev.h> /* major and minor on Solaris */ -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html