* [PATCH] utest/trace-utest: add missing include
@ 2024-02-15 10:25 Miko Larsson via B4 Relay
0 siblings, 0 replies; only message in thread
From: Miko Larsson via B4 Relay @ 2024-02-15 10:25 UTC (permalink / raw)
To: linux-trace-devel; +Cc: Miko Larsson
From: Miko Larsson <mikoxyzzz@gmail.com>
Fixes FTBFS with clang >=15
Fixes: 58cbc1b2a84e ("libtraceevent: Add unit test framework for library commands")
Signed-off-by: Miko Larsson <mikoxyzzz@gmail.com>
---
utest/trace-utest.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/utest/trace-utest.c b/utest/trace-utest.c
index 1403c86..a26e42e 100644
--- a/utest/trace-utest.c
+++ b/utest/trace-utest.c
@@ -6,6 +6,7 @@
* Copyright (C) 2021, VMware, Steven Rostedt <rostedt@goodmis.org>
*
*/
+#include <libgen.h>
#include <stdio.h>
#include <unistd.h>
#include <getopt.h>
---
base-commit: 6f6d5802f31992e7527a4c32b43a32fda6bf6bdf
change-id: 20240215-utest-fixes-cd5dcc3e853b
Best regards,
--
Miko Larsson <mikoxyzzz@gmail.com>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-15 10:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-15 10:25 [PATCH] utest/trace-utest: add missing include Miko Larsson via B4 Relay
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 NNTP newsgroup(s).