All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex@linutronix.de>
To: linux-erofs@lists.ozlabs.org, hsiangkao@linux.alibaba.com
Cc: Alexander Kanavin <alex@linutronix.de>
Subject: [PATCH] fsck/main.c: add missing include
Date: Mon,  6 Dec 2021 20:14:03 +0100	[thread overview]
Message-ID: <20211206191403.1435229-1-alex@linutronix.de> (raw)

Otherwise musl C library builds fail with missing S_IFMT/S_IFDIR
definitions.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 fsck/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fsck/main.c b/fsck/main.c
index aefa881..ad48e35 100644
--- a/fsck/main.c
+++ b/fsck/main.c
@@ -6,6 +6,7 @@
 #include <stdlib.h>
 #include <getopt.h>
 #include <time.h>
+#include <sys/stat.h>
 #include "erofs/print.h"
 #include "erofs/io.h"
 #include "erofs/decompress.h"
-- 
2.20.1


             reply	other threads:[~2021-12-06 19:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06 19:14 Alexander Kanavin [this message]
2021-12-06 19:26 ` [PATCH] fsck/main.c: add missing include Gao Xiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211206191403.1435229-1-alex@linutronix.de \
    --to=alex@linutronix.de \
    --cc=hsiangkao@linux.alibaba.com \
    --cc=linux-erofs@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.