From: Miko Larsson <mikoxyzzz@xxxxxxxxx> Fixes FTBFS with clang >=15 Fixes: 845f16976929 ("libtracefs: Add unit tests") Signed-off-by: Miko Larsson <mikoxyzzz@xxxxxxxxx> --- utest/trace-utest.c | 1 + 1 file changed, 1 insertion(+) 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@xxxxxxxxx> * */ +#include <libgen.h> #include <stdio.h> #include <unistd.h> #include <getopt.h> -- 2.43.0