diff options
author | Karel Zak | 2013-09-11 14:37:22 +0200 |
---|---|---|
committer | Karel Zak | 2013-09-11 16:40:06 +0200 |
commit | db2a3dda748cbf06c1129cbb24a003a703c2fa85 (patch) | |
tree | 12294d09f98f3474b7dd779882e1e3925bce93e4 /include/crc32.h | |
parent | wipefs: Also wipe superblocks with bad checksums (diff) | |
download | kernel-qcow2-util-linux-db2a3dda748cbf06c1129cbb24a003a703c2fa85.tar.gz kernel-qcow2-util-linux-db2a3dda748cbf06c1129cbb24a003a703c2fa85.tar.xz kernel-qcow2-util-linux-db2a3dda748cbf06c1129cbb24a003a703c2fa85.zip |
lib: add crc64()
Based on bcache code from Rolf Fokkens.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/crc32.h')
-rw-r--r-- | include/crc32.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crc32.h b/include/crc32.h index b454be9fc..26169109e 100644 --- a/include/crc32.h +++ b/include/crc32.h @@ -1,6 +1,7 @@ #ifndef UL_NG_CRC32_H #define UL_NG_CRC32_H +#include <sys/types.h> #include <stdint.h> extern uint32_t crc32(uint32_t seed, const unsigned char *buf, size_t len); |