=================================================================== RCS file: /cvs/mandoc/cgi.c,v retrieving revision 1.161 retrieving revision 1.163 diff -u -p -r1.161 -r1.163 --- mandoc/cgi.c 2018/10/19 21:10:56 1.161 +++ mandoc/cgi.c 2018/12/14 01:18:25 1.163 @@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.161 2018/10/19 21:10:56 schwarze Exp $ */ +/* $Id: cgi.c,v 1.163 2018/12/14 01:18:25 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2016, 2017, 2018 Ingo Schwarze @@ -38,6 +38,7 @@ #include "roff.h" #include "mdoc.h" #include "man.h" +#include "mandoc_parse.h" #include "main.h" #include "manconf.h" #include "mansearch.h" @@ -860,7 +861,7 @@ resp_format(const struct req *req, const char *file) mchars_alloc(); mp = mparse_alloc(MPARSE_SO | MPARSE_UTF8 | MPARSE_LATIN1, - MANDOCERR_MAX, NULL, MANDOC_OS_OTHER, req->q.manpath); + MANDOC_OS_OTHER, req->q.manpath); mparse_readfd(mp, fd, file); close(fd);