From: Miko Larsson <mikoxyzzz@xxxxxxxxx> Fixes FTBFS with clang >=15 Fixes: 0f45e68cb04a ("libtracefs: Add unit tests for tracefs_cpu functions") Signed-off-by: Miko Larsson <mikoxyzzz@xxxxxxxxx> --- 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@xxxxxxxxx> * */ +#define _LARGEFILE64_SOURCE + #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> -- 2.43.0