Skip to contentSkip to conversation

utest/trace-utest: add missing include

PATCH Superseded Miko Larsson 1 participant 1 message Feb 15, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utest/trace-utest: add missing include

Fixes FTBFS with clang >=15

Fixes 58cbc1b2a84e ("libtraceevent: Add unit test framework for library commands")
---
 utest/trace-utest.c | 1 +
 1 file changed, 1 insertion(+)
utest/trace-utest.c +1 -0
index 1403c86..a26e42e 100644
@@ -6,6 +6,7 @@
  *   Copyright (C) 2021, VMware, Steven Rostedt <[email protected]>
  *
  */
+#include <libgen.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <getopt.h>

---
base-commit: 6f6d5802f31992e7527a4c32b43a32fda6bf6bdf
change-id: 20240215-utest-fixes-cd5dcc3e853b

Best regards,

Signature · 1 line
Miko Larsson <[email protected]>