mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-09 14:13:43 +00:00
Fix building with GCC 13.
Fixes the following error: ../src/lib/tvgLzw.h:27:5: error: ‘uint8_t’ does not name a type
This commit is contained in:
parent
0e8cd1e525
commit
0c987470af
1 changed files with 3 additions and 1 deletions
|
@ -22,10 +22,12 @@
|
||||||
#ifndef _TVG_LZW_H_
|
#ifndef _TVG_LZW_H_
|
||||||
#define _TVG_LZW_H_
|
#define _TVG_LZW_H_
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
namespace tvg
|
namespace tvg
|
||||||
{
|
{
|
||||||
uint8_t* lzwEncode(const uint8_t* uncompressed, uint32_t uncompressedSizeBytes, uint32_t* compressedSizeBytes, uint32_t* compressedSizeBits);
|
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);
|
uint8_t* lzwDecode(const uint8_t* compressed, uint32_t compressedSizeBytes, uint32_t compressedSizeBits, uint32_t uncompressedSizeBytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif //_TVG_LZW_H
|
#endif //_TVG_LZW_H
|
||||||
|
|
Loading…
Add table
Reference in a new issue