=================================================================== RCS file: /cvs/mandoc/demandoc.c,v retrieving revision 1.9 retrieving revision 1.11 diff -u -p -r1.9 -r1.11 --- mandoc/demandoc.c 2014/03/19 22:05:10 1.9 +++ mandoc/demandoc.c 2014/08/10 23:54:41 1.11 @@ -1,4 +1,4 @@ -/* $Id: demandoc.c,v 1.9 2014/03/19 22:05:10 schwarze Exp $ */ +/* $Id: demandoc.c,v 1.11 2014/08/10 23:54:41 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -14,10 +14,10 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif +#include + #include #include #include @@ -110,7 +110,7 @@ pmandoc(struct mparse *mp, int fd, const char *fn, int return; } - mparse_result(mp, &mdoc, &man); + mparse_result(mp, &mdoc, &man, NULL); line = 1; col = 0;