diff options
Diffstat (limited to 'include/tinyff/image/png.h')
| -rw-r--r-- | include/tinyff/image/png.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/tinyff/image/png.h b/include/tinyff/image/png.h index 78b92e4..95ab94f 100644 --- a/include/tinyff/image/png.h +++ b/include/tinyff/image/png.h @@ -5,9 +5,10 @@ #include <stdio.h> #include <stdbool.h> #include <string.h> +#include <stdlib.h> #include "tinyff/result.h" - +#include "tinyff/common.h" static const unsigned char PNG_SIGNATURE[8] = { @@ -50,6 +51,6 @@ typedef struct { ff_result ff_png_isvalid(FILE *file); ff_result ff_open_png(const char *filepath, ff_png_ctx **out_ctx); - +ff_result ff_next_chunk(FILE *file, ff_png_chunk **out_chunk); #endif |
