From 9534243f6849d1938195c1f27adaa5745056f138 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 21 Apr 2017 16:22:20 +0200 Subject: Include required system headers. --- source/html/css-apply.c | 4 ++++ source/html/css-parse.c | 2 ++ source/html/epub-doc.c | 3 +++ source/html/html-doc.c | 3 +++ source/html/html-font.c | 2 ++ source/html/html-layout.c | 2 ++ 6 files changed, 16 insertions(+) (limited to 'source/html') 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 +#include +#include + 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 + 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 +#include + 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 +#include + 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 + 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 +#include + #undef DEBUG_HARFBUZZ enum { T, R, B, L }; -- cgit v1.2.3