1From 821778286843b8e88d0cd73a97d20b5a2fff8ea1 Mon Sep 17 00:00:00 2001 2From: Alexander Kanavin <alex@linutronix.de> 3Date: Mon, 6 Dec 2021 20:12:54 +0100 4Subject: [PATCH] fsck/main.c: add missing include 5 6Otherwise musl C library builds fail with missing S_IFMT/S_IFDIR 7definitions. 8 9Upstream-Status: Submitted [email to linux-erofs@lists.ozlabs.org,hsiangkao@linux.alibaba.com] 10Signed-off-by: Alexander Kanavin <alex@linutronix.de> 11--- 12 fsck/main.c | 1 + 13 1 file changed, 1 insertion(+) 14 15diff --git a/fsck/main.c b/fsck/main.c 16index aefa881..ad48e35 100644 17--- a/fsck/main.c 18+++ b/fsck/main.c 19@@ -6,6 +6,7 @@ 20 #include <stdlib.h> 21 #include <getopt.h> 22 #include <time.h> 23+#include <sys/stat.h> 24 #include "erofs/print.h" 25 #include "erofs/io.h" 26 #include "erofs/decompress.h" 27