aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc.c')
-rw-r--r--mdoc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdoc.c b/mdoc.c
index 44c21846..f156db9e 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc.c,v 1.91 2009/07/15 15:36:38 kristaps Exp $ */
+/* $Id: mdoc.c,v 1.92 2009/07/16 13:42:12 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -147,6 +147,10 @@ static int macrowarn(struct mdoc *, int, const char *);
static int pstring(struct mdoc *, int, int,
const char *, size_t);
+#ifdef __linux__
+extern size_t strlcpy(char *, const char *, size_t);
+#endif
+
const struct mdoc_node *
mdoc_node(const struct mdoc *m)