diff --git a/lib/gen_crc64table.c b/lib/gen_crc64table.c
index 9011926e4162e576327567cf6f2217105786fa36..094b43aef8dbff2f948a0733bc4ef6395bf26bca 100644
--- a/lib/gen_crc64table.c
+++ b/lib/gen_crc64table.c
@@ -16,8 +16,6 @@
 #include <inttypes.h>
 #include <stdio.h>
 
-#include <linux/swab.h>
-
 #define CRC64_ECMA182_POLY 0x42F0E1EBA9EA3693ULL
 
 static uint64_t crc64_table[256] = {0};