summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdoc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdoc.c b/mdoc.c
index df9c6109..59da201e 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -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)