From ef347f2aec8a7f78abb12203940722047749fb13 Mon Sep 17 00:00:00 2001 From: Vladimir Petrigo Date: Wed, 11 Oct 2023 17:44:48 +0600 Subject: [PATCH] crc: Add size_t specific header --- crc/crc16.h | 1 + crc/crc32.h | 1 + crc/crc64.h | 1 + crc/crc8.h | 1 + 4 files changed, 4 insertions(+) diff --git a/crc/crc16.h b/crc/crc16.h index aad103d..c49c4a9 100644 --- a/crc/crc16.h +++ b/crc/crc16.h @@ -5,6 +5,7 @@ extern "C" { #endif /* __cplusplus */ +#include #include uint16_t crc16(const unsigned char *buf, size_t len); diff --git a/crc/crc32.h b/crc/crc32.h index 88760c6..9a90eab 100644 --- a/crc/crc32.h +++ b/crc/crc32.h @@ -5,6 +5,7 @@ extern "C" { #endif /* __cplusplus */ +#include #include uint32_t crc32(const unsigned char *s, size_t len); diff --git a/crc/crc64.h b/crc/crc64.h index 70b0909..8ecbbc3 100644 --- a/crc/crc64.h +++ b/crc/crc64.h @@ -5,6 +5,7 @@ extern "C" { #endif /* __cplusplus */ +#include #include uint64_t crc64(const unsigned char *s, size_t l); diff --git a/crc/crc8.h b/crc/crc8.h index 12e589e..52d65b6 100644 --- a/crc/crc8.h +++ b/crc/crc8.h @@ -5,6 +5,7 @@ extern "C" { #endif /* __cplusplus */ +#include #include // LSB-first