From 169b7ce1101f551c1829fbc2d0e654087a09413d Mon Sep 17 00:00:00 2001 From: Cuelive <93713079+Cuelive@users.noreply.github.com> Date: Tue, 28 Feb 2023 10:03:21 +0800 Subject: [PATCH] blktrace: fix compilation error on the uos system When compiling on uos, it fails with an undefined reference to 'major'. Fix this by including the correct header for it. liuyafei --- blktrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/blktrace.c b/blktrace.c index d5c8aee7..ef9ce6bf 100644 --- a/blktrace.c +++ b/blktrace.c @@ -5,6 +5,7 @@ #include #include #include +#include #include "flist.h" #include "fio.h" -- 2.25.1