From: Miko Larsson via B4 Relay <devnull+mikoxyzzz.gmail.com@kernel.org>
To: linux-trace-devel@vger.kernel.org
Cc: Miko Larsson <mikoxyzzz@gmail.com>
Subject: [PATCH 2/3] utest/tracefs-utest: add missing define
Date: Thu, 15 Feb 2024 10:02:42 +0100 [thread overview]
Message-ID: <20240215-utest-fixes-v1-2-24678d859de2@gmail.com> (raw)
In-Reply-To: <20240215-utest-fixes-v1-0-24678d859de2@gmail.com>
From: Miko Larsson <mikoxyzzz@gmail.com>
Fixes FTBFS with clang >=15
Fixes: 0f45e68cb04a ("libtracefs: Add unit tests for tracefs_cpu functions")
Signed-off-by: Miko Larsson <mikoxyzzz@gmail.com>
---
utest/tracefs-utest.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/utest/tracefs-utest.c b/utest/tracefs-utest.c
index a798ace..e30e8e7 100644
--- a/utest/tracefs-utest.c
+++ b/utest/tracefs-utest.c
@@ -3,6 +3,8 @@
* Copyright (C) 2020, VMware, Tzvetomir Stoyanov <tz.stoyanov@gmail.com>
*
*/
+#define _LARGEFILE64_SOURCE
+
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
--
2.43.0
next prev parent reply other threads:[~2024-02-15 9:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-15 9:02 [PATCH 0/3] utest: fix FTBFS with clang >=15 Miko Larsson via B4 Relay
2024-02-15 9:02 ` [PATCH 1/3] utest/tracefs-utest: add missing include Miko Larsson via B4 Relay
2024-02-21 23:48 ` Steven Rostedt
2024-02-22 8:57 ` Miko Larsson
2024-02-15 9:02 ` Miko Larsson via B4 Relay [this message]
2024-02-21 23:49 ` [PATCH 2/3] utest/tracefs-utest: add missing define Steven Rostedt
2024-02-22 8:59 ` Miko Larsson
2024-02-15 9:02 ` [PATCH 3/3] utest/trace-utest: add missing include Miko Larsson via B4 Relay
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=20240215-utest-fixes-v1-2-24678d859de2@gmail.com \
--to=devnull+mikoxyzzz.gmail.com@kernel.org \
--cc=linux-trace-devel@vger.kernel.org \
--cc=mikoxyzzz@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).