diff mbox series

[OpenWrt-Devel,fwtool,6/8] crc32: add missing stdint.h dependency

Message ID 20191023105339.16326-7-ynezz@true.cz
State Accepted
Delegated to: Petr Štetiar
Headers show
Series fwtool improvements | expand

Commit Message

Petr Štetiar Oct. 23, 2019, 10:53 a.m. UTC
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 | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/crc32.h b/crc32.h
index 022c69fc7fd0..54c232903549 100644
--- 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)
 {