From 4b1cb0df244405c720734176ffbff9195cebc118 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 18 Mar 2012 23:35:06 +0100 Subject: [PATCH] CRC: Added inclusion guards --- ucw/crc.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ucw/crc.h b/ucw/crc.h index a5134267..73363ddb 100644 --- a/ucw/crc.h +++ b/ucw/crc.h @@ -16,6 +16,9 @@ * Adapted for LibUCW by Martin Mares in 2012. */ +#ifndef _UCW_CRC_H +#define _UCW_CRC_H + /** * Internal CRC calculator context. * You should use it just as an opaque handle only. @@ -65,3 +68,5 @@ static inline u32 crc32_final(crc32_context *ctx) * return crc32_final(&ctx); */ u32 crc32_hash_buffer(const byte *buf, uns len); + +#endif -- 2.39.2