From 24ee17200231fd7ea9bf63208b7da1c1d6aa9228 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 19 Aug 2009 12:00:46 +0000 Subject: Linux compat fix. --- man.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'man.c') diff --git a/man.c b/man.c index 8f0f06f0..2f155808 100644 --- a/man.c +++ b/man.c @@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.31 2009/08/19 11:58:32 kristaps Exp $ */ +/* $Id: man.c,v 1.32 2009/08/19 12:00:46 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -68,6 +68,10 @@ static int man_alloc1(struct man *); static int pstring(struct man *, int, int, const char *, size_t); +#ifdef __linux__ +extern size_t strlcpy(char *, const char *, size_t); +#endif + const struct man_node * man_node(const struct man *m) -- cgit v1.2.3-56-ge451