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

Petr Štetiar ynezz at true.cz
Wed Oct 23 06:53:37 EDT 2019


In order to fix compile error if using this header standalone, in unit
tests for example.

Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 crc32.h | 2 ++
 1 file changed, 2 insertions(+)

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)
 {

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list