crc32: add missing stdint.h dependency
authorPetr Štetiar <ynezz@true.cz>
Tue, 22 Oct 2019 11:21:17 +0000 (13:21 +0200)
committerPetr Štetiar <ynezz@true.cz>
Sat, 9 Nov 2019 13:28:09 +0000 (14:28 +0100)
In order to fix compile error if using this header standalone, in unit
tests for example.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
crc32.h

diff --git a/crc32.h b/crc32.h
index 022c69fc7fd0b0751ae15697a14b202d8baceb12..54c232903549308008968fd45a2eb330b3a907a8 100644 (file)
--- a/crc32.h
+++ b/crc32.h
@@ -17,6 +17,8 @@
 #ifndef __BB_CRC32_H
 #define __BB_CRC32_H
 
+#include <stdint.h>
+
 static inline void
 crc32_filltable(uint32_t *crc_table)
 {