]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
libapi: Add missing linux/types.h header to get the __u64 type on io.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 30 Nov 2023 17:11:45 +0000 (14:11 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 23:27:46 +0000 (15:27 -0800)
commitd5ef7480d64397dc5b91fd1d19d2c4e520870cf1
tree4c0ea332982d3729621a5c2ad019c9a887888e92
parentd74173bda29aba58f822175d983d07c8ed335494
libapi: Add missing linux/types.h header to get the __u64 type on io.h

[ Upstream commit af76b2dec0984a079d8497bfa37d29a9b55932e1 ]

There are functions using __u64, so we need to have the linux/types.h
header otherwise we'll break when its not included before api/io.h.

Fixes: e95770af4c4a280f ("tools api: Add a lightweight buffered reading api")
Reviewed-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/lkml/ZWjDPL+IzPPsuC3X@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/lib/api/io.h