diff options
Diffstat (limited to 'include/png/lodepng.h')
| -rw-r--r-- | include/png/lodepng.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/png/lodepng.h b/include/png/lodepng.h index 1548272..61d0d49 100644 --- a/include/png/lodepng.h +++ b/include/png/lodepng.h @@ -27,8 +27,10 @@ freely, subject to the following restrictions: #define LODEPNG_H //#include <string.h> /*for size_t*/ -typedef unsigned int size_t; +#ifndef FREERTOS_RISCV64 +typedef unsigned int size_t; +#endif extern const char* LODEPNG_VERSION_STRING; |
