blktrace: fix compilation error on the uos system
authorCuelive <93713079+Cuelive@users.noreply.github.com>
Tue, 28 Feb 2023 02:03:21 +0000 (10:03 +0800)
committerqinzhiben <qinzhiben@uniontech.com>
Tue, 28 Feb 2023 08:38:03 +0000 (16:38 +0800)
commit169b7ce1101f551c1829fbc2d0e654087a09413d
tree23e0145b519aaa4587b11cc4a13d3c458eeb5dff
parentb5904c0d7434a49770cdb90eada1c724f0f7fe4e
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 <liuyafei@uniontech.com>
blktrace.c