summaryrefslogtreecommitdiffstatshomepage
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
commit24ee17200231fd7ea9bf63208b7da1c1d6aa9228 (patch)
treeb44cc59db26ca205b548b08a14222174643f65db
parent3381bcccce951f0ca40a1a39f5c568435a35fcd2 (diff)
downloadmandoc-24ee17200231fd7ea9bf63208b7da1c1d6aa9228.tar.gz
mandoc-24ee17200231fd7ea9bf63208b7da1c1d6aa9228.tar.zst
mandoc-24ee17200231fd7ea9bf63208b7da1c1d6aa9228.zip
Linux compat fix.
-rw-r--r--man.c6
1 files changed, 5 insertions, 1 deletions
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 <kristaps@kth.se>
*
@@ -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)