diff mbox series

[3/3] utest/trace-utest: add missing include

Message ID 20240215-utest-fixes-v1-3-24678d859de2@gmail.com (mailing list archive)
State Superseded
Headers show
Series utest: fix FTBFS with clang >=15 | expand

Commit Message

Miko Larsson via B4 Relay Feb. 15, 2024, 9:02 a.m. UTC
From: Miko Larsson <mikoxyzzz@gmail.com>

Fixes FTBFS with clang >=15

Fixes: 845f16976929 ("libtracefs: Add unit tests")
Signed-off-by: Miko Larsson <mikoxyzzz@gmail.com>
---
 utest/trace-utest.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/utest/trace-utest.c b/utest/trace-utest.c
index 58d4d4e..39485a1 100644
--- a/utest/trace-utest.c
+++ b/utest/trace-utest.c
@@ -3,6 +3,7 @@ 
  * Copyright (C) 2020, VMware, Tzvetomir Stoyanov <tz.stoyanov@gmail.com>
  *
  */
+#include <libgen.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <getopt.h>