From 637c94a3e7d99e6c213678e8021e9a2aff6428ce Mon Sep 17 00:00:00 2001 From: daniel Date: Sun, 21 Dec 2014 00:17:24 +0000 Subject: [PATCH] Fix build with -Werror -std=c99 -pedantic. ok schwarze@ --- usr.bin/mandoc/libmandoc.h | 3 +-- usr.bin/mandoc/msec.c | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/mandoc/libmandoc.h b/usr.bin/mandoc/libmandoc.h index 01358911568..ea6c9cbc19d 100644 --- a/usr.bin/mandoc/libmandoc.h +++ b/usr.bin/mandoc/libmandoc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: libmandoc.h,v 1.37 2014/12/01 08:05:02 schwarze Exp $ */ +/* $OpenBSD: libmandoc.h,v 1.38 2014/12/21 00:17:24 daniel Exp $ */ /* * Copyright (c) 2009, 2010, 2011, 2012 Kristaps Dzonsons * Copyright (c) 2013, 2014 Ingo Schwarze @@ -37,7 +37,6 @@ __BEGIN_DECLS struct mparse; struct mchars; -enum mandocerr; struct tbl_span; struct eqn; struct roff; diff --git a/usr.bin/mandoc/msec.c b/usr.bin/mandoc/msec.c index d9503216780..90a300e9020 100644 --- a/usr.bin/mandoc/msec.c +++ b/usr.bin/mandoc/msec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msec.c,v 1.10 2014/12/01 08:05:02 schwarze Exp $ */ +/* $OpenBSD: msec.c,v 1.11 2014/12/21 00:17:24 daniel Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons * @@ -18,6 +18,7 @@ #include +#include "mandoc.h" #include "libmandoc.h" #define LINE(x, y) \ -- 2.20.1