diff options
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -22,6 +22,8 @@ #ifndef TEXT_H #define TEXT_H +#include <stdio.h> + #include <png.h> #include "font.h" @@ -29,7 +31,7 @@ struct text; struct text * -text_new(const char *string); +text_new(FILE *stream); size_t text_get_width(struct text *text) __attribute__((pure)); |