From: Rosen Penev <rosenp@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: [PATCH 4/5] mtd-utils: serve_image: fix _POSIX_C_SOURCE
Date: Sun, 26 Oct 2025 13:00:48 -0700 [thread overview]
Message-ID: <20251026200049.25152-4-rosenp@gmail.com> (raw)
In-Reply-To: <20251026200049.25152-1-rosenp@gmail.com>
200809 is needed for pread/pwrite
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
misc-utils/serve_image.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc-utils/serve_image.c b/misc-utils/serve_image.c
index 6c8c8fb..ec2090f 100644
--- a/misc-utils/serve_image.c
+++ b/misc-utils/serve_image.c
@@ -1,5 +1,5 @@
#define PROGRAM_NAME "serve_image"
-#define _POSIX_C_SOURCE 200112L
+#define _POSIX_C_SOURCE 200809L
#include <time.h>
#include <errno.h>
--
2.51.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2025-10-26 20:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-26 20:00 [PATCH 1/5] mtd-utils: don't include features.h Rosen Penev
2025-10-26 20:00 ` [PATCH 2/5] mtd-utils: rbtree: just include stddef.h Rosen Penev
2025-10-26 20:00 ` [PATCH 3/5] mtd-utils: reduce linux/types.h usage Rosen Penev
2025-10-26 20:00 ` Rosen Penev [this message]
2025-10-26 20:00 ` [PATCH 5/5] mtd-utils: add GNU_SOURCE define to c files Rosen Penev
2025-11-28 20:43 ` David Oberhollenzer
2025-11-28 20:50 ` Rosen Penev
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=20251026200049.25152-4-rosenp@gmail.com \
--to=rosenp@gmail.com \
--cc=linux-mtd@lists.infradead.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.