From e210cfc8c8787c57129113ea21233372f6dfa684 Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Mon, 22 Feb 2016 16:49:15 +0100 Subject: [PATCH] lib: include sys/stat.h for struct stat Compiler warning: 'struct stat' will not be visible outside of this function [-Wvisibility] Signed-off-by: Ruediger Meier --- include/blkdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/blkdev.h b/include/blkdev.h index 46fb2cef05..62eda82af9 100644 --- a/include/blkdev.h +++ b/include/blkdev.h @@ -14,6 +14,7 @@ #endif #include #include +#include #ifdef HAVE_SYS_MKDEV_H # include /* major and minor on Solaris */ -- 2.47.3