summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/textinput.c1
-rw-r--r--utils/utf8.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/desktop/textinput.c b/desktop/textinput.c
index 8e284e477..1fdd49ebe 100644
--- a/desktop/textinput.c
+++ b/desktop/textinput.c
@@ -13,6 +13,7 @@
*/
#include <assert.h>
+#include <string.h>
#include "netsurf/desktop/browser.h"
#include "netsurf/desktop/gui.h"
diff --git a/utils/utf8.c b/utils/utf8.c
index 957062a37..2676e8881 100644
--- a/utils/utf8.c
+++ b/utils/utf8.c
@@ -10,6 +10,7 @@
*/
#include <assert.h>
+#include <stdlib.h>
#include <string.h>
#include <iconv.h>