=================================================================== RCS file: /cvs/mandoc/man.c,v retrieving revision 1.46 retrieving revision 1.47 diff -u -p -r1.46 -r1.47 --- mandoc/man.c 2009/11/02 08:40:31 1.46 +++ mandoc/man.c 2010/01/01 17:14:27 1.47 @@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.46 2009/11/02 08:40:31 kristaps Exp $ */ +/* $Id: man.c,v 1.47 2010/01/01 17:14:27 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -14,6 +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 @@ -71,10 +75,6 @@ static void man_alloc1(struct man *); static int pstring(struct man *, int, int, const char *, size_t); static int macrowarn(struct man *, int, const char *); - -#ifdef __linux__ -extern size_t strlcpy(char *, const char *, size_t); -#endif const struct man_node *