diff options
Diffstat (limited to 'source/html')
-rw-r--r-- | source/html/css-apply.c | 4 | ||||
-rw-r--r-- | source/html/css-parse.c | 2 | ||||
-rw-r--r-- | source/html/epub-doc.c | 3 | ||||
-rw-r--r-- | source/html/html-doc.c | 3 | ||||
-rw-r--r-- | source/html/html-font.c | 2 | ||||
-rw-r--r-- | source/html/html-layout.c | 2 |
6 files changed, 16 insertions, 0 deletions
diff --git a/source/html/css-apply.c b/source/html/css-apply.c index e1ad46ff..65323baa 100644 --- a/source/html/css-apply.c +++ b/source/html/css-apply.c @@ -1,6 +1,10 @@ #include "mupdf/fitz.h" #include "html-imp.h" +#include <string.h> +#include <stdlib.h> +#include <stdio.h> + static const char *inherit_list[] = { "color", "direction", diff --git a/source/html/css-parse.c b/source/html/css-parse.c index d92e3d7b..8dbc4dae 100644 --- a/source/html/css-parse.c +++ b/source/html/css-parse.c @@ -1,6 +1,8 @@ #include "mupdf/fitz.h" #include "html-imp.h" +#include <string.h> + struct lexbuf { fz_context *ctx; diff --git a/source/html/epub-doc.c b/source/html/epub-doc.c index 495b397f..20b5c2ef 100644 --- a/source/html/epub-doc.c +++ b/source/html/epub-doc.c @@ -1,6 +1,9 @@ #include "mupdf/fitz.h" #include "html-imp.h" +#include <string.h> +#include <math.h> + enum { T, R, B, L }; typedef struct epub_document_s epub_document; diff --git a/source/html/html-doc.c b/source/html/html-doc.c index 825e3958..67587fa1 100644 --- a/source/html/html-doc.c +++ b/source/html/html-doc.c @@ -1,6 +1,9 @@ #include "mupdf/fitz.h" #include "html-imp.h" +#include <string.h> +#include <math.h> + enum { T, R, B, L }; typedef struct html_document_s html_document; diff --git a/source/html/html-font.c b/source/html/html-font.c index 640c8565..cf572440 100644 --- a/source/html/html-font.c +++ b/source/html/html-font.c @@ -1,6 +1,8 @@ #include "mupdf/fitz.h" #include "html-imp.h" +#include <string.h> + static fz_font * fz_load_html_default_font(fz_context *ctx, fz_html_font_set *set, const char *family, int is_bold, int is_italic) { diff --git a/source/html/html-layout.c b/source/html/html-layout.c index 8caf7e34..b4ec17a0 100644 --- a/source/html/html-layout.c +++ b/source/html/html-layout.c @@ -6,6 +6,8 @@ #include "hb-ft.h" #include <ft2build.h> +#include <math.h> + #undef DEBUG_HARFBUZZ enum { T, R, B, L }; |