summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/textplain.c1
-rw-r--r--render/textplain.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/render/textplain.c b/render/textplain.c
index 1f455f3ad..26f98b671 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -10,6 +10,7 @@
*/
#include <errno.h>
+#include <stddef.h>
#include <iconv.h>
#include "netsurf/content/content.h"
#include "netsurf/css/css.h"
diff --git a/render/textplain.h b/render/textplain.h
index c60ddadd0..27da768ee 100644
--- a/render/textplain.h
+++ b/render/textplain.h
@@ -12,6 +12,8 @@
#ifndef _NETSURF_RENDER_TEXTPLAIN_H_
#define _NETSURF_RENDER_TEXTPLAIN_H_
+#include <iconv.h>
+
struct content;
struct content_textplain_data {