aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_crc32.h
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_crc32.h')
-rw-r--r--libarchive/archive_crc32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libarchive/archive_crc32.h b/libarchive/archive_crc32.h
index cd633af89b4a..4f1aed305930 100644
--- a/libarchive/archive_crc32.h
+++ b/libarchive/archive_crc32.h
@@ -25,6 +25,9 @@
* $FreeBSD: head/lib/libarchive/archive_crc32.h 201102 2009-12-28 03:11:36Z kientzle $
*/
+#ifndef ARCHIVE_CRC32_H
+#define ARCHIVE_CRC32_H
+
#ifndef __LIBARCHIVE_BUILD
#error This header is only to be used internally to libarchive.
#endif
@@ -76,3 +79,5 @@ crc32(unsigned long crc, const void *_p, size_t len)
crc = crc_tbl[(crc ^ *p++) & 0xff] ^ (crc >> 8);
return (crc ^ 0xffffffffUL);
}
+
+#endif