From 0c987470afb54229c76b9a08534c10e5efe9a086 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 23 May 2022 12:11:23 +0200 Subject: [PATCH] Fix building with GCC 13. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the following error: ../src/lib/tvgLzw.h:27:5: error: ‘uint8_t’ does not name a type --- src/lib/tvgLzw.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/tvgLzw.h b/src/lib/tvgLzw.h index 1bd5c61f..8e165bdb 100644 --- a/src/lib/tvgLzw.h +++ b/src/lib/tvgLzw.h @@ -22,10 +22,12 @@ #ifndef _TVG_LZW_H_ #define _TVG_LZW_H_ +#include + namespace tvg { uint8_t* lzwEncode(const uint8_t* uncompressed, uint32_t uncompressedSizeBytes, uint32_t* compressedSizeBytes, uint32_t* compressedSizeBits); uint8_t* lzwDecode(const uint8_t* compressed, uint32_t compressedSizeBytes, uint32_t compressedSizeBits, uint32_t uncompressedSizeBytes); } -#endif //_TVG_LZW_H \ No newline at end of file +#endif //_TVG_LZW_H