aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbhgv <bhgv.empire@gmail.com>2020-05-12 12:50:49 +0300
committerbhgv <bhgv.empire@gmail.com>2020-05-12 12:50:49 +0300
commit9b5d5f8a4640dbecdc87e5b6e7e95f71018632cf (patch)
treed3135c3861ef93ed2523642d3c5f64c7819b7def /include
parent73c13e732072c17f3e584e11a51d1f7dc8d88e32 (diff)
parent31b4edc67b75658ce5e2d41f2fc87331f4b26d49 (diff)
Merge branch 'master' of https://github.com/bhgv/Inferno-OS-bhgv
Diffstat (limited to 'include')
-rw-r--r--include/png/lodepng.h4
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;