From: NeilBrown Date: Sat, 29 Dec 2018 02:58:09 +0000 (+1100) Subject: lib: don't depend on linux headers being installed. X-Git-Tag: for-linus-20190104~41 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d8372ba8ce288acdfce67cb873b2a741785c2e88;p=linux-2.6-block.git lib: don't depend on linux headers being installed. gen_crc64table requires linux include files to be installed in /usr/include/linux. This is a new requrement so hosts that could previously build the kernel, now cannot. gen_crc64table makes this requirement by including , but nothing from that header is actaully used. So remove the #include, so that the linux headers no longer need to be installed. Fixes: feba04fd2cf8 ("lib: add crc64 calculation routines") Signed-off-by: NeilBrown Acked-by: Coly Li Signed-off-by: Linus Torvalds --- diff --git a/lib/gen_crc64table.c b/lib/gen_crc64table.c index 9011926e4162..094b43aef8db 100644 --- a/lib/gen_crc64table.c +++ b/lib/gen_crc64table.c @@ -16,8 +16,6 @@ #include #include -#include - #define CRC64_ECMA182_POLY 0x42F0E1EBA9EA3693ULL static uint64_t crc64_table[256] = {0};