From: Cuelive <93713079+Cuelive@users.noreply.github.com> Date: Tue, 28 Feb 2023 02:03:21 +0000 (+0800) Subject: blktrace: fix compilation error on the uos system X-Git-Tag: fio-3.34~14^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=169b7ce1101f551c1829fbc2d0e654087a09413d;p=fio.git 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 --- 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"