summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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)