summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-08-19 12:00:46 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-08-19 12:00:46 +0000
commitadb55018cd205147355db43ed9a49dfc4e6eb123 (patch)
tree76ce939370f4a2497ab3c16af145234fa51538b9 /man.c
parent2947204975cad02e98da760b1aa5d9e0efc196d0 (diff)
downloadmandoc-adb55018cd205147355db43ed9a49dfc4e6eb123.tar.gz
Linux compat fix.
Diffstat (limited to 'man.c')
-rw-r--r--man.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/man.c b/man.c
index 59cfba98..2ed39903 100644
--- a/man.c
+++ b/man.c
@@ -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)