summaryrefslogtreecommitdiff
path: root/content/handlers/text/textplain.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-06-24 23:49:59 +0100
committerVincent Sanders <vince@kyllikki.org>2020-06-24 23:49:59 +0100
commitebe1b0511444e82830e8de239c34c6817817fba8 (patch)
tree62b03f2f06ed0fc279d2830f82a299d443583aea /content/handlers/text/textplain.c
parent2352bea1534c5cfe13018cbc04b9026f5dda60f7 (diff)
downloadnetsurf-ebe1b0511444e82830e8de239c34c6817817fba8.tar.gz
netsurf-ebe1b0511444e82830e8de239c34c6817817fba8.tar.bz2
improve desktop text search header usage
remove unecessary inclusion of desktop search header in content header which has knock on effect of not having ctype or string system headers dragged in unecessarily. Futher this highlighted use of ctype API where internal ascii processing ought to be used.
Diffstat (limited to 'content/handlers/text/textplain.c')
-rw-r--r--content/handlers/text/textplain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/handlers/text/textplain.c b/content/handlers/text/textplain.c
index b5ad0aec3..21876ec58 100644
--- a/content/handlers/text/textplain.c
+++ b/content/handlers/text/textplain.c
@@ -23,6 +23,7 @@
* plain text content handling implementation.
*/
+#include <string.h>
#include <parserutils/input/inputstream.h>
#include "utils/errors.h"