aboutsummaryrefslogtreecommitdiffstats
path: root/main/bcache-tools/gcc5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/bcache-tools/gcc5.patch')
-rw-r--r--main/bcache-tools/gcc5.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/bcache-tools/gcc5.patch b/main/bcache-tools/gcc5.patch
new file mode 100644
index 0000000000..0a80f0d93f
--- /dev/null
+++ b/main/bcache-tools/gcc5.patch
@@ -0,0 +1,11 @@
+--- ./bcache.c.orig
++++ ./bcache.c
+@@ -115,7 +115,7 @@
+ 0x9AFCE626CE85B507ULL
+ };
+
+-inline uint64_t crc64(const void *_data, size_t len)
++uint64_t crc64(const void *_data, size_t len)
+ {
+ uint64_t crc = 0xFFFFFFFFFFFFFFFFULL;
+ const unsigned char *data = _data;